Home
last modified time | relevance | path

Searched refs:nlp_type (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.10/drivers/scsi/lpfc/
Dlpfc_nportdisc.c476 if (!(ndlp->nlp_type & NLP_FABRIC) && in lpfc_rcv_plogi()
503 ndlp->nlp_type &= ~(NLP_FCP_TARGET | NLP_FCP_INITIATOR); in lpfc_rcv_plogi()
504 ndlp->nlp_type &= ~(NLP_NVME_TARGET | NLP_NVME_INITIATOR); in lpfc_rcv_plogi()
806 if (ndlp->nlp_type & (NLP_FCP_TARGET | NLP_NVME_TARGET)) { in lpfc_rcv_padisc()
904 } else if ((!(ndlp->nlp_type & NLP_FABRIC) && in lpfc_rcv_logo()
905 ((ndlp->nlp_type & NLP_FCP_TARGET) || in lpfc_rcv_logo()
906 !(ndlp->nlp_type & NLP_FCP_INITIATOR))) || in lpfc_rcv_logo()
986 ndlp->nlp_type |= NLP_FCP_INITIATOR; in lpfc_rcv_prli()
988 ndlp->nlp_type |= NLP_NVME_INITIATOR; in lpfc_rcv_prli()
992 ndlp->nlp_type |= NLP_FCP_TARGET; in lpfc_rcv_prli()
[all …]
Dlpfc_hbadisc.c237 ndlp->nlp_DID, ndlp->nlp_type, rport->scsi_target_id); in lpfc_dev_loss_tmo_handler()
289 if (ndlp->nlp_type & NLP_FABRIC) in lpfc_dev_loss_tmo_handler()
825 (!remove && ndlp->nlp_type & NLP_FABRIC)) in lpfc_cleanup_rpis()
990 if (ndlp->nlp_type & NLP_FABRIC) { in lpfc_linkup_cleanup_nodes()
3944 ndlp->nlp_type |= NLP_FABRIC; in lpfc_mbx_cmpl_fabric_reg_login()
4100 ndlp->nlp_type |= NLP_FABRIC; in lpfc_mbx_cmpl_ns_reg_login()
4190 ndlp->nlp_DID, ndlp->nlp_flag, ndlp->nlp_type); in lpfc_register_remote_port()
4209 if (ndlp->nlp_type & NLP_FCP_TARGET) in lpfc_register_remote_port()
4211 if (ndlp->nlp_type & NLP_FCP_INITIATOR) in lpfc_register_remote_port()
4213 if (ndlp->nlp_type & NLP_NVME_INITIATOR) in lpfc_register_remote_port()
[all …]
Dlpfc_nvme.c706 ntype = ndlp->nlp_type; in __lpfc_nvme_ls_req()
1684 if ((ndlp->nlp_type & NLP_NVME_TARGET) && in lpfc_nvme_fcp_io_submit()
1690 ndlp->nlp_state, ndlp->nlp_type, in lpfc_nvme_fcp_io_submit()
2426 ndlp->nlp_DID, ndlp->nlp_type); in lpfc_nvme_register_port()
2442 if (ndlp->nlp_type & NLP_NVME_TARGET) in lpfc_nvme_register_port()
2444 if (ndlp->nlp_type & NLP_NVME_INITIATOR) in lpfc_nvme_register_port()
2447 if (ndlp->nlp_type & NLP_NVME_DISCOVERY) in lpfc_nvme_register_port()
2558 ndlp->nlp_DID, ndlp->nlp_type, ndlp->nlp_state, in lpfc_nvme_rescan_port()
2629 ndlp->nlp_type); in lpfc_nvme_unregister_port()
2635 if (ndlp->nlp_type & NLP_NVME_TARGET) { in lpfc_nvme_unregister_port()
Dlpfc_disc.h86 uint16_t nlp_type; member
Dlpfc_els.c814 ndlp->nlp_type |= NLP_FABRIC; in lpfc_cmpl_els_flogi_fabric()
1466 ndlp->nlp_type |= NLP_FABRIC; in lpfc_initial_flogi()
1618 if (ndlp->nlp_type & NLP_FABRIC) in lpfc_plogi_confirm_nport()
1775 new_ndlp->nlp_type = ndlp->nlp_type; in lpfc_plogi_confirm_nport()
2368 ndlp->nlp_type &= ~(NLP_FCP_TARGET | NLP_FCP_INITIATOR); in lpfc_issue_els_prli()
2369 ndlp->nlp_type &= ~(NLP_NVME_TARGET | NLP_NVME_INITIATOR); in lpfc_issue_els_prli()
2397 ndlp->nlp_type); in lpfc_issue_els_prli()
2908 if (ndlp->nlp_type & (NLP_FCP_TARGET | NLP_NVME_TARGET) && in lpfc_cmpl_els_logo()
5113 if ((ndlp->nlp_type & NLP_FCP_TARGET) && in lpfc_els_rsp_prli_acc()
5154 ndlp->nlp_fcp_info, ndlp->nlp_type); in lpfc_els_rsp_prli_acc()
[all …]
Dlpfc_debugfs.c878 if (!ndlp->nlp_type) in lpfc_debugfs_nodelist_data()
880 if (ndlp->nlp_type & NLP_FC_NODE) in lpfc_debugfs_nodelist_data()
882 if (ndlp->nlp_type & NLP_FABRIC) { in lpfc_debugfs_nodelist_data()
886 if (ndlp->nlp_type & NLP_FCP_TARGET) in lpfc_debugfs_nodelist_data()
889 if (ndlp->nlp_type & NLP_FCP_INITIATOR) in lpfc_debugfs_nodelist_data()
891 if (ndlp->nlp_type & NLP_NVME_TARGET) in lpfc_debugfs_nodelist_data()
895 if (ndlp->nlp_type & NLP_NVME_INITIATOR) in lpfc_debugfs_nodelist_data()
Dlpfc_ct.c522 (ndlp->nlp_type & in lpfc_prep_node_fc4type()
579 if (ndlp->nlp_type != NLP_NVME_INITIATOR || in lpfc_ns_rsp_audit_did()
1547 if (ndlp->nlp_type & NLP_FABRIC) in lpfc_find_map_node()
Dlpfc_init.c2884 if (ndlp->nlp_type & NLP_FABRIC) in lpfc_cleanup()
3522 if (ndlp->nlp_type & NLP_FABRIC) { in lpfc_offline_prep()
5607 ndlp->nlp_type |= NLP_FABRIC; in lpfc_sli4_perform_vport_cvl()
Dlpfc_scsi.c5413 ndlp->nlp_type & NLP_FCP_TARGET) { in lpfc_bus_reset_handler()