Home
last modified time | relevance | path

Searched refs:max_cp_rings (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ulp.c124 int max_idx, max_cp_rings; in bnxt_req_msix_vecs() local
139 max_cp_rings = bnxt_get_max_func_cp_rings(bp); in bnxt_req_msix_vecs()
149 max_idx = min_t(int, bp->total_irqs, max_cp_rings); in bnxt_req_msix_vecs()
Dbnxt_sriov.c620 hw_resc->max_cp_rings -= le16_to_cpu(req->min_cmpl_rings) * n; in bnxt_hwrm_func_vf_resc_cfg()
713 hw_resc->max_cp_rings -= vf_cp_rings * num_vfs; in bnxt_hwrm_func_cfg()
Dbnxt.h1079 u16 max_cp_rings; member
Dbnxt.c7559 hw_resc->max_cp_rings = le16_to_cpu(resp->max_cmpl_rings); in bnxt_hwrm_func_resc_qcaps()
7717 hw_resc->max_cp_rings = le16_to_cpu(resp->max_cmpl_rings); in __bnxt_hwrm_func_qcaps()
9042 return bp->hw_resc.max_cp_rings; in bnxt_get_max_func_cp_rings()
9047 unsigned int cp = bp->hw_resc.max_cp_rings; in bnxt_get_max_func_cp_rings_for_en()
9062 return min_t(unsigned int, hw_resc->max_irqs, hw_resc->max_cp_rings); in bnxt_get_max_func_irqs()