This is what your patch should looking like if you skip the 1st one. @@ -10711,9 +10706,7 @@ lpfc_get_sli4_parameters(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq) lpfc_printf_log(phba, KERN_INFO, LOG_INIT | LOG_NVME, "6422 XIB %d: FCP %d %d NVME %d %d %d %d\n", bf_get(cfg_xib, mbx_sli4_parameters), phba->fcp_embed_pbde, phba->fcp_embed_io, phba->nvme_support, phba->nvme_embed_pbde, phba->cfg_nvme_embed_cmd, phba->cfg_suppress_rsp);
+ if ((bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf) == + LPFC_SLI_INTF_IF_TYPE_2) && + (bf_get(lpfc_sli_intf_sli_family, &phba->sli4_hba.sli_intf) == + LPFC_SLI_INTF_FAMILY_LNCR_A0)) exp_wqcq_pages = false;
if ((bf_get(cfg_cqpsize, mbx_sli4_parameters) & LPFC_CQ_16K_PAGE_SZ) &&
This is what your patch should looking like if you skip the 1st one. sli4_parameters (struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq)
lpfc_printf_ log(phba, KERN_INFO, LOG_INIT | LOG_NVME,
"6422 XIB %d: FCP %d %d NVME %d %d %d %d\n",
bf_get( cfg_xib, mbx_sli4_ parameters) ,
phba- >fcp_embed_ pbde, phba->fcp_embed_io,
phba- >nvme_support, phba->nvme_ embed_pbde,
phba- >cfg_nvme_ embed_cmd, phba->cfg_ suppress_ rsp);
@@ -10711,9 +10706,7 @@ lpfc_get_
+ if ((bf_get( lpfc_sli_ intf_if_ type, &phba-> sli4_hba. sli_intf) == INTF_IF_ TYPE_2) && lpfc_sli_ intf_sli_ family, &phba-> sli4_hba. sli_intf) == INTF_FAMILY_ LNCR_A0) )
+ LPFC_SLI_
+ (bf_get(
+ LPFC_SLI_
exp_wqcq_pages = false;
if ((bf_get( cfg_cqpsize, mbx_sli4_ parameters) & LPFC_CQ_ 16K_PAGE_ SZ) &&