Home
last modified time | relevance | path

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

/linux/drivers/scsi/lpfc/
H A Dlpfc_debugfs.h426 wq = phba->sli4_hba.hdwq[wqidx].io_wq; in lpfc_debug_dump_wq()
429 wq = phba->sli4_hba.mbx_wq; in lpfc_debug_dump_wq()
432 wq = phba->sli4_hba.els_wq; in lpfc_debug_dump_wq()
435 wq = phba->sli4_hba.nvmels_wq; in lpfc_debug_dump_wq()
470 wq = phba->sli4_hba.hdwq[wqidx].io_wq; in lpfc_debug_dump_cq()
471 cq = phba->sli4_hba.hdwq[wqidx].io_cq; in lpfc_debug_dump_cq()
474 wq = phba->sli4_hba.mbx_wq; in lpfc_debug_dump_cq()
475 cq = phba->sli4_hba.mbx_cq; in lpfc_debug_dump_cq()
478 wq = phba->sli4_hba.els_wq; in lpfc_debug_dump_cq()
479 cq = phba->sli4_hba.els_cq; in lpfc_debug_dump_cq()
[all …]
H A Dlpfc_nvmet.c223 spin_lock_irqsave(&phba->sli4_hba.t_active_list_lock, iflag); in lpfc_nvmet_get_ctx_for_xri()
224 list_for_each_entry(ctxp, &phba->sli4_hba.t_active_ctx_list, list) { in lpfc_nvmet_get_ctx_for_xri()
231 spin_unlock_irqrestore(&phba->sli4_hba.t_active_list_lock, iflag); in lpfc_nvmet_get_ctx_for_xri()
245 spin_lock_irqsave(&phba->sli4_hba.t_active_list_lock, iflag); in lpfc_nvmet_get_ctx_for_oxid()
246 list_for_each_entry(ctxp, &phba->sli4_hba.t_active_ctx_list, list) { in lpfc_nvmet_get_ctx_for_oxid()
253 spin_unlock_irqrestore(&phba->sli4_hba.t_active_list_lock, iflag); in lpfc_nvmet_get_ctx_for_oxid()
275 spin_lock(&phba->sli4_hba.t_active_list_lock); in lpfc_nvmet_defer_release()
277 spin_unlock(&phba->sli4_hba.t_active_list_lock); in lpfc_nvmet_defer_release()
278 spin_lock(&phba->sli4_hba.abts_nvmet_buf_list_lock); in lpfc_nvmet_defer_release()
279 list_add_tail(&ctxp->list, &phba->sli4_hba.lpfc_abts_nvmet_ctx_list); in lpfc_nvmet_defer_release()
[all …]
H A Dlpfc_attr.c137 phba->sli4_hba.pc_sli4_params.mi_cap, in lpfc_cmf_info_show()
139 phba->sli4_hba.pc_sli4_params.cmf, phba->cmf_timer_cnt); in lpfc_cmf_info_show()
144 if (!phba->sli4_hba.pc_sli4_params.cmf) in lpfc_cmf_info_show()
503 phba->sli4_hba.nvmet_xri_cnt, in lpfc_nvme_info_show()
504 phba->sli4_hba.nvmet_io_wait_cnt, in lpfc_nvme_info_show()
505 phba->sli4_hba.nvmet_io_wait_total, in lpfc_nvme_info_show()
525 phba->sli4_hba.max_cfg_param.max_xri, in lpfc_nvme_info_show()
526 phba->sli4_hba.io_xri_max, in lpfc_nvme_info_show()
648 cstat = &phba->sli4_hba.hdwq[i].nvme_cstat; in lpfc_nvme_info_show()
726 cstat = &phba->sli4_hba.hdwq[i].scsi_cstat; in lpfc_scsi_stat_show()
[all …]
H A Dlpfc_mbox.c444 &phba->sli4_hba.bbscn_params); in lpfc_config_link()
578 if ((phba->sli4_hba.pc_sli4_params.sli_family == LPFC_SLI_INTF_FAMILY_G6 || in lpfc_init_link()
579 phba->sli4_hba.pc_sli4_params.if_type == LPFC_SLI_INTF_IF_TYPE_6) && in lpfc_init_link()
580 !(phba->sli4_hba.pc_sli4_params.pls) && in lpfc_init_link()
818 mb->un.varRegLogin.rpi = phba->sli4_hba.rpi_ids[rpi]; in lpfc_reg_rpi()
951 mb->un.varRegVpi.vfi = phba->sli4_hba.vfi_ids[vport->vfi]; in lpfc_reg_vpi()
2163 bf_set(lpfc_ftr_ashdr, &phba->sli4_hba.sli4_flags, 1); in lpfc_request_features()
2192 vport->phba->sli4_hba.vfi_ids[vport->vfi]); in lpfc_init_vfi()
2222 phba->sli4_hba.vfi_ids[vport->vfi]); in lpfc_reg_vfi()
2239 if ((phba->sli4_hba.lnk_info.lnk_tp == LPFC_LNK_TYPE_FC) && in lpfc_reg_vfi()
[all …]
H A Dlpfc_nvme.c469 phba->sli4_hba.rpi_ids[ndlp->nlp_rpi]); in lpfc_nvme_gen_req()
505 rc = lpfc_sli4_issue_wqe(phba, &phba->sli4_hba.hdwq[0], genwqe); in lpfc_nvme_gen_req()
575 if (!vport->phba->sli4_hba.nvmels_wq) in __lpfc_nvme_ls_req()
733 pring = phba->sli4_hba.nvmels_wq->pring; in __lpfc_nvme_ls_abort()
981 phba->sli4_hba.hdwq[idx].nvme_cstat.io_cmpls++; in lpfc_nvme_io_cmd_cmpl()
1152 this_cpu_inc(phba->sli4_hba.c_stat->cmpl_io); in lpfc_nvme_io_cmd_cmpl()
1291 phba->sli4_hba.rpi_ids[pnode->nlp_rpi]); in lpfc_nvme_prep_io_cmd()
1672 idx = phba->sli4_hba.cpu_map[cpu].hdwq; in lpfc_nvme_fcp_io_submit()
1742 cstat = &phba->sli4_hba.hdwq[idx].nvme_cstat; in lpfc_nvme_fcp_io_submit()
1780 this_cpu_inc(phba->sli4_hba.c_stat->xmt_io); in lpfc_nvme_fcp_io_submit()
[all …]
H A Dlpfc_nvme.h169 (phba->sli4_hba.nvmet_ctx_info + ((cpu * phba->cfg_nvmet_mrq) + mrq))
H A Dlpfc_sli4.h498 #define lpfc_get_eq_hdl(eqidx) (&phba->sli4_hba.hba_eq_hdl[eqidx])
499 #define lpfc_get_aff_mask(eqidx) (&phba->sli4_hba.hba_eq_hdl[eqidx].aff_mask)
500 #define lpfc_get_irq(eqidx) (phba->sli4_hba.hba_eq_hdl[eqidx].irq)
H A Dlpfc.h1013 struct lpfc_sli4_hba sli4_hba; member
1702 if (phba->sli4_hba.els_wq) in lpfc_phba_elsring()
1703 return phba->sli4_hba.els_wq->pring; in lpfc_phba_elsring()
1765 writel(reg_data.word0, phba->sli4_hba.u.if_type2.EQDregaddr); in lpfc_sli4_mod_hba_eq_delay()
H A Dlpfc_mem.c77 int max_xri = phba->sli4_hba.max_cfg_param.max_xri; in lpfc_mem_alloc_active_rrq_pool_s4()