Lines Matching defs:rport_ids
4504 struct fc_rport_identifiers rport_ids;
4512 rport_ids.node_name = wwn_to_u64(ndlp->nlp_nodename.u.wwn);
4513 rport_ids.port_name = wwn_to_u64(ndlp->nlp_portname.u.wwn);
4514 rport_ids.port_id = ndlp->nlp_DID;
4515 rport_ids.roles = FC_RPORT_ROLE_UNKNOWN;
4526 ndlp->rport = rport = fc_remote_port_add(shost, 0, &rport_ids);
4551 rport_ids.roles |= FC_PORT_ROLE_FCP_TARGET;
4553 rport_ids.roles |= FC_PORT_ROLE_FCP_INITIATOR;
4555 rport_ids.roles |= FC_PORT_ROLE_NVME_INITIATOR;
4557 rport_ids.roles |= FC_PORT_ROLE_NVME_TARGET;
4559 rport_ids.roles |= FC_PORT_ROLE_NVME_DISCOVERY;
4561 if (rport_ids.roles != FC_RPORT_ROLE_UNKNOWN)
4562 fc_remote_port_rolechg(rport, rport_ids.roles);