Lines Matching defs:rport_ids
4169 struct fc_rport_identifiers rport_ids;
4176 rport_ids.node_name = wwn_to_u64(ndlp->nlp_nodename.u.wwn);
4177 rport_ids.port_name = wwn_to_u64(ndlp->nlp_portname.u.wwn);
4178 rport_ids.port_id = ndlp->nlp_DID;
4179 rport_ids.roles = FC_RPORT_ROLE_UNKNOWN;
4210 ndlp->rport = rport = fc_remote_port_add(shost, 0, &rport_ids);
4224 rport_ids.roles |= FC_PORT_ROLE_FCP_TARGET;
4226 rport_ids.roles |= FC_PORT_ROLE_FCP_INITIATOR;
4228 rport_ids.roles |= FC_PORT_ROLE_NVME_INITIATOR;
4230 rport_ids.roles |= FC_PORT_ROLE_NVME_TARGET;
4232 rport_ids.roles |= FC_PORT_ROLE_NVME_DISCOVERY;
4234 if (rport_ids.roles != FC_RPORT_ROLE_UNKNOWN)
4235 fc_remote_port_rolechg(rport, rport_ids.roles);
4239 ndlp->nlp_DID, rport, rport_ids.roles);