Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ulp.c116 int max_idx, max_cp_rings; in bnxt_req_msix_vecs() local
130 max_cp_rings = bnxt_get_max_func_cp_rings(bp); in bnxt_req_msix_vecs()
140 max_idx = min_t(int, bp->total_irqs, max_cp_rings); in bnxt_req_msix_vecs()
Dbnxt_sriov.c600 hw_resc->max_cp_rings -= le16_to_cpu(req.min_cmpl_rings) * n; in bnxt_hwrm_func_vf_resc_cfg()
689 hw_resc->max_cp_rings -= vf_cp_rings * num_vfs; in bnxt_hwrm_func_cfg()
Dbnxt.h1020 u16 max_cp_rings; member
Dbnxt.c6889 hw_resc->max_cp_rings = le16_to_cpu(resp->max_cmpl_rings); in bnxt_hwrm_func_resc_qcaps()
6958 hw_resc->max_cp_rings = le16_to_cpu(resp->max_cmpl_rings); in __bnxt_hwrm_func_qcaps()
7947 return bp->hw_resc.max_cp_rings; in bnxt_get_max_func_cp_rings()
7952 unsigned int cp = bp->hw_resc.max_cp_rings; in bnxt_get_max_func_cp_rings_for_en()
7967 return min_t(unsigned int, hw_resc->max_irqs, hw_resc->max_cp_rings); in bnxt_get_max_func_irqs()