Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ulp.c123 int max_idx, max_cp_rings; in bnxt_req_msix_vecs() local
138 max_cp_rings = bnxt_get_max_func_cp_rings(bp); in bnxt_req_msix_vecs()
148 max_idx = min_t(int, bp->total_irqs, max_cp_rings); in bnxt_req_msix_vecs()
Dbnxt_sriov.c597 hw_resc->max_cp_rings -= le16_to_cpu(req.min_cmpl_rings) * n; in bnxt_hwrm_func_vf_resc_cfg()
686 hw_resc->max_cp_rings -= vf_cp_rings * num_vfs; in bnxt_hwrm_func_cfg()
Dbnxt.h1057 u16 max_cp_rings; member
Dbnxt.c7217 hw_resc->max_cp_rings = le16_to_cpu(resp->max_cmpl_rings); in bnxt_hwrm_func_resc_qcaps()
7295 hw_resc->max_cp_rings = le16_to_cpu(resp->max_cmpl_rings); in __bnxt_hwrm_func_qcaps()
8462 return bp->hw_resc.max_cp_rings; in bnxt_get_max_func_cp_rings()
8467 unsigned int cp = bp->hw_resc.max_cp_rings; in bnxt_get_max_func_cp_rings_for_en()
8482 return min_t(unsigned int, hw_resc->max_irqs, hw_resc->max_cp_rings); in bnxt_get_max_func_irqs()