Lines Matching refs:rport_ids
4476 struct fc_rport_identifiers rport_ids; in lpfc_register_remote_port() local
4484 rport_ids.node_name = wwn_to_u64(ndlp->nlp_nodename.u.wwn); in lpfc_register_remote_port()
4485 rport_ids.port_name = wwn_to_u64(ndlp->nlp_portname.u.wwn); in lpfc_register_remote_port()
4486 rport_ids.port_id = ndlp->nlp_DID; in lpfc_register_remote_port()
4487 rport_ids.roles = FC_RPORT_ROLE_UNKNOWN; in lpfc_register_remote_port()
4498 ndlp->rport = rport = fc_remote_port_add(shost, 0, &rport_ids); in lpfc_register_remote_port()
4523 rport_ids.roles |= FC_PORT_ROLE_FCP_TARGET; in lpfc_register_remote_port()
4525 rport_ids.roles |= FC_PORT_ROLE_FCP_INITIATOR; in lpfc_register_remote_port()
4527 rport_ids.roles |= FC_PORT_ROLE_NVME_INITIATOR; in lpfc_register_remote_port()
4529 rport_ids.roles |= FC_PORT_ROLE_NVME_TARGET; in lpfc_register_remote_port()
4531 rport_ids.roles |= FC_PORT_ROLE_NVME_DISCOVERY; in lpfc_register_remote_port()
4533 if (rport_ids.roles != FC_RPORT_ROLE_UNKNOWN) in lpfc_register_remote_port()
4534 fc_remote_port_rolechg(rport, rport_ids.roles); in lpfc_register_remote_port()