Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/scsi/lpfc/
Dlpfc_nportdisc.c371 if (!(ndlp->nlp_type & NLP_FABRIC) && in lpfc_rcv_plogi()
393 ndlp->nlp_type &= ~(NLP_FCP_TARGET | NLP_FCP_INITIATOR); in lpfc_rcv_plogi()
394 ndlp->nlp_type &= ~(NLP_NVME_TARGET | NLP_NVME_INITIATOR); in lpfc_rcv_plogi()
616 if (ndlp->nlp_type & NLP_FCP_TARGET) in lpfc_rcv_padisc()
707 } else if ((!(ndlp->nlp_type & NLP_FABRIC) && in lpfc_rcv_logo()
708 ((ndlp->nlp_type & NLP_FCP_TARGET) || in lpfc_rcv_logo()
709 !(ndlp->nlp_type & NLP_FCP_INITIATOR))) || in lpfc_rcv_logo()
789 ndlp->nlp_type |= NLP_FCP_INITIATOR; in lpfc_rcv_prli()
791 ndlp->nlp_type |= NLP_NVME_INITIATOR; in lpfc_rcv_prli()
795 ndlp->nlp_type |= NLP_FCP_TARGET; in lpfc_rcv_prli()
[all …]
Dlpfc_nvme.c604 ntype = ndlp->nlp_type; in lpfc_nvme_ls_req()
612 ndlp->nlp_state, ndlp->nlp_type); in lpfc_nvme_ls_req()
1518 if ((ndlp->nlp_type & NLP_NVME_TARGET) && in lpfc_nvme_fcp_io_submit()
1524 ndlp->nlp_state, ndlp->nlp_type, in lpfc_nvme_fcp_io_submit()
2701 ndlp->nlp_DID, ndlp->nlp_type); in lpfc_nvme_register_port()
2717 if (ndlp->nlp_type & NLP_NVME_TARGET) in lpfc_nvme_register_port()
2719 if (ndlp->nlp_type & NLP_NVME_INITIATOR) in lpfc_nvme_register_port()
2722 if (ndlp->nlp_type & NLP_NVME_DISCOVERY) in lpfc_nvme_register_port()
2767 ndlp->nlp_type, in lpfc_nvme_register_port()
2872 ndlp->nlp_type); in lpfc_nvme_unregister_port()
[all …]
Dlpfc_hbadisc.c235 ndlp->nlp_DID, ndlp->nlp_type, rport->scsi_target_id); in lpfc_dev_loss_tmo_handler()
287 if (ndlp->nlp_type & NLP_FABRIC) in lpfc_dev_loss_tmo_handler()
822 (!remove && ndlp->nlp_type & NLP_FABRIC)) in lpfc_cleanup_rpis()
966 if (ndlp->nlp_type & NLP_FABRIC) { in lpfc_linkup_cleanup_nodes()
3842 ndlp->nlp_type |= NLP_FABRIC; in lpfc_mbx_cmpl_fabric_reg_login()
3969 ndlp->nlp_type |= NLP_FABRIC; in lpfc_mbx_cmpl_ns_reg_login()
4057 ndlp->nlp_DID, ndlp->nlp_flag, ndlp->nlp_type); in lpfc_register_remote_port()
4076 if (ndlp->nlp_type & NLP_FCP_TARGET) in lpfc_register_remote_port()
4078 if (ndlp->nlp_type & NLP_FCP_INITIATOR) in lpfc_register_remote_port()
4107 ndlp->nlp_DID, ndlp->nlp_flag, ndlp->nlp_type); in lpfc_unregister_remote_port()
[all …]
Dlpfc_disc.h86 uint16_t nlp_type; member
Dlpfc_els.c809 ndlp->nlp_type |= NLP_FABRIC; in lpfc_cmpl_els_flogi_fabric()
1393 ndlp->nlp_type |= NLP_FABRIC; in lpfc_initial_flogi()
1543 if (ndlp->nlp_type & NLP_FABRIC) in lpfc_plogi_confirm_nport()
1657 new_ndlp->nlp_type = ndlp->nlp_type; in lpfc_plogi_confirm_nport()
2203 ndlp->nlp_type &= ~(NLP_FCP_TARGET | NLP_FCP_INITIATOR); in lpfc_issue_els_prli()
2204 ndlp->nlp_type &= ~(NLP_NVME_TARGET | NLP_NVME_INITIATOR); in lpfc_issue_els_prli()
2232 ndlp->nlp_type); in lpfc_issue_els_prli()
2740 if ((ndlp->nlp_type & NLP_FCP_TARGET) && (skip_recovery == 0)) { in lpfc_cmpl_els_logo()
4547 if ((ndlp->nlp_type & NLP_FCP_TARGET) && in lpfc_els_rsp_prli_acc()
4588 ndlp->nlp_fcp_info, ndlp->nlp_type); in lpfc_els_rsp_prli_acc()
[all …]
Dlpfc_debugfs.c618 if (!ndlp->nlp_type) in lpfc_debugfs_nodelist_data()
620 if (ndlp->nlp_type & NLP_FC_NODE) in lpfc_debugfs_nodelist_data()
622 if (ndlp->nlp_type & NLP_FABRIC) { in lpfc_debugfs_nodelist_data()
626 if (ndlp->nlp_type & NLP_FCP_TARGET) in lpfc_debugfs_nodelist_data()
629 if (ndlp->nlp_type & NLP_FCP_INITIATOR) in lpfc_debugfs_nodelist_data()
631 if (ndlp->nlp_type & NLP_NVME_TARGET) in lpfc_debugfs_nodelist_data()
635 if (ndlp->nlp_type & NLP_NVME_INITIATOR) in lpfc_debugfs_nodelist_data()
Dlpfc_ct.c516 (ndlp->nlp_type & in lpfc_prep_node_fc4type()
563 if (ndlp->nlp_type != NLP_NVME_INITIATOR || in lpfc_ns_rsp_audit_did()
1271 if (ndlp->nlp_type & NLP_FABRIC) in lpfc_find_map_node()
Dlpfc_init.c2834 if (ndlp->nlp_type & NLP_FABRIC) in lpfc_cleanup()
3216 if (ndlp->nlp_type & NLP_FABRIC) { in lpfc_offline_prep()
4935 ndlp->nlp_type |= NLP_FABRIC; in lpfc_sli4_perform_vport_cvl()
Dlpfc_scsi.c5419 ndlp->nlp_type & NLP_FCP_TARGET) { in lpfc_bus_reset_handler()