Home
last modified time | relevance | path

Searched refs:nrport (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/scsi/lpfc/
H A Dlpfc_nvme.h38 ((!ndlp->nrport || (ndlp->fc4_xpt_flags & NVME_XPT_UNREG_WAIT))\
39 ? NULL : ndlp->nrport)
H A Dlpfc_nvme.c269 lpfc_rport = axchg->ndlp->nrport; in lpfc_nvme_handle_lsreq()
2468 ndlp->nrport = NULL; in lpfc_nvme_register_port()
2479 if (!prev_ndlp->nrport) in lpfc_nvme_register_port()
2489 ndlp->nrport = rport; in lpfc_nvme_register_port()
2527 struct lpfc_nvme_rport *nrport; in lpfc_nvme_rescan_port() local
2531 nrport = lpfc_ndlp_get_nrport(ndlp); in lpfc_nvme_rescan_port()
2532 if (nrport) in lpfc_nvme_rescan_port()
2533 remoteport = nrport->remoteport; in lpfc_nvme_rescan_port()
2540 nrport, remoteport); in lpfc_nvme_rescan_port()
2542 if (!nrport || !remoteport) in lpfc_nvme_rescan_port()
[all …]
H A Dlpfc_disc.h144 struct lpfc_nvme_rport *nrport; /* nvme transport rport struct. */ member
H A Dlpfc_attr.c343 struct nvme_fc_remote_port *nrport; in lpfc_nvme_info_show() local
549 nrport = NULL; in lpfc_nvme_info_show()
553 nrport = rport->remoteport; in lpfc_nvme_info_show()
555 if (!nrport) in lpfc_nvme_info_show()
559 switch (nrport->port_state) { in lpfc_nvme_info_show()
580 nrport->port_name); in lpfc_nvme_info_show()
585 nrport->node_name); in lpfc_nvme_info_show()
590 nrport->port_id); in lpfc_nvme_info_show()
611 nrport->port_role); in lpfc_nvme_info_show()
6963 nrport = lpfc_ndlp_get_nrport(ndlp); in lpfc_set_rport_loss_tmo()
[all …]
H A Dlpfc_debugfs.c814 struct nvme_fc_remote_port *nrport = NULL; in lpfc_debugfs_nodelist_data() local
961 nrport = rport->remoteport; in lpfc_debugfs_nodelist_data()
963 nrport = NULL; in lpfc_debugfs_nodelist_data()
965 if (!nrport) in lpfc_debugfs_nodelist_data()
969 switch (nrport->port_state) { in lpfc_debugfs_nodelist_data()
984 statep, nrport->port_id); in lpfc_debugfs_nodelist_data()
986 nrport->port_name); in lpfc_debugfs_nodelist_data()
988 nrport->node_name); in lpfc_debugfs_nodelist_data()
991 if (nrport->port_role & FC_PORT_ROLE_NVME_INITIATOR) in lpfc_debugfs_nodelist_data()
994 if (nrport->port_role & FC_PORT_ROLE_NVME_TARGET) in lpfc_debugfs_nodelist_data()
[all …]
H A Dlpfc_els.c1817 keep_nrport = new_ndlp->nrport; in lpfc_plogi_confirm_nport()
1818 new_ndlp->nrport = ndlp->nrport; in lpfc_plogi_confirm_nport()
1869 ndlp->nrport = keep_nrport; in lpfc_plogi_confirm_nport()