Lines Matching refs:rport_ids
2835 struct fc_rport_identifiers rport_ids;
2841 rport_ids.node_name = wwn_to_u64(fcport->node_name);
2842 rport_ids.port_name = wwn_to_u64(fcport->port_name);
2843 rport_ids.port_id = fcport->d_id.b.domain << 16 |
2845 rport_ids.roles = FC_RPORT_ROLE_UNKNOWN;
2846 fcport->rport = rport = fc_remote_port_add(vha->host, 0, &rport_ids);
2858 rport_ids.roles = FC_RPORT_ROLE_UNKNOWN;
2860 rport_ids.roles |= FC_RPORT_ROLE_FCP_INITIATOR;
2862 rport_ids.roles |= FC_RPORT_ROLE_FCP_TARGET;
2863 fc_remote_port_rolechg(rport, rport_ids.roles);