Lines Matching refs:rport_ids
6106 struct fc_rport_identifiers rport_ids; in qla2x00_reg_remote_port() local
6113 rport_ids.node_name = wwn_to_u64(fcport->node_name); in qla2x00_reg_remote_port()
6114 rport_ids.port_name = wwn_to_u64(fcport->port_name); in qla2x00_reg_remote_port()
6115 rport_ids.port_id = fcport->d_id.b.domain << 16 | in qla2x00_reg_remote_port()
6117 rport_ids.roles = FC_RPORT_ROLE_UNKNOWN; in qla2x00_reg_remote_port()
6118 fcport->rport = rport = fc_remote_port_add(vha->host, 0, &rport_ids); in qla2x00_reg_remote_port()
6132 rport_ids.roles = FC_PORT_ROLE_UNKNOWN; in qla2x00_reg_remote_port()
6134 rport_ids.roles |= FC_PORT_ROLE_FCP_INITIATOR; in qla2x00_reg_remote_port()
6136 rport_ids.roles |= FC_PORT_ROLE_FCP_TARGET; in qla2x00_reg_remote_port()
6138 rport_ids.roles |= FC_PORT_ROLE_NVME_INITIATOR; in qla2x00_reg_remote_port()
6140 rport_ids.roles |= FC_PORT_ROLE_NVME_TARGET; in qla2x00_reg_remote_port()
6142 rport_ids.roles |= FC_PORT_ROLE_NVME_DISCOVERY; in qla2x00_reg_remote_port()
6144 fc_remote_port_rolechg(rport, rport_ids.roles); in qla2x00_reg_remote_port()