Lines Matching refs:rport_ids
3893 struct fc_rport_identifiers rport_ids; in lpfc_register_remote_port() local
3897 rport_ids.node_name = wwn_to_u64(ndlp->nlp_nodename.u.wwn); in lpfc_register_remote_port()
3898 rport_ids.port_name = wwn_to_u64(ndlp->nlp_portname.u.wwn); in lpfc_register_remote_port()
3899 rport_ids.port_id = ndlp->nlp_DID; in lpfc_register_remote_port()
3900 rport_ids.roles = FC_RPORT_ROLE_UNKNOWN; in lpfc_register_remote_port()
3929 ndlp->rport = rport = fc_remote_port_add(shost, 0, &rport_ids); in lpfc_register_remote_port()
3943 rport_ids.roles |= FC_RPORT_ROLE_FCP_TARGET; in lpfc_register_remote_port()
3945 rport_ids.roles |= FC_RPORT_ROLE_FCP_INITIATOR; in lpfc_register_remote_port()
3947 if (rport_ids.roles != FC_RPORT_ROLE_UNKNOWN) in lpfc_register_remote_port()
3948 fc_remote_port_rolechg(rport, rport_ids.roles); in lpfc_register_remote_port()
3952 ndlp->nlp_DID, rport, rport_ids.roles); in lpfc_register_remote_port()