Lines Matching defs:rport_ids
6085 struct fc_rport_identifiers rport_ids;
6092 rport_ids.node_name = wwn_to_u64(fcport->node_name);
6093 rport_ids.port_name = wwn_to_u64(fcport->port_name);
6094 rport_ids.port_id = fcport->d_id.b.domain << 16 |
6096 rport_ids.roles = FC_RPORT_ROLE_UNKNOWN;
6097 fcport->rport = rport = fc_remote_port_add(vha->host, 0, &rport_ids);
6111 rport_ids.roles = FC_PORT_ROLE_UNKNOWN;
6113 rport_ids.roles |= FC_PORT_ROLE_FCP_INITIATOR;
6115 rport_ids.roles |= FC_PORT_ROLE_FCP_TARGET;
6117 rport_ids.roles |= FC_PORT_ROLE_NVME_INITIATOR;
6119 rport_ids.roles |= FC_PORT_ROLE_NVME_TARGET;
6121 rport_ids.roles |= FC_PORT_ROLE_NVME_DISCOVERY;
6123 fc_remote_port_rolechg(rport, rport_ids.roles);