Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_sriov.c680 hw_resc->max_cp_rings -= le16_to_cpu(req->min_cmpl_rings) * n; in bnxt_hwrm_func_vf_resc_cfg()
773 hw_resc->max_cp_rings -= vf_cp_rings * num_vfs; in bnxt_hwrm_func_cfg()
H A Dbnxt.h1339 u16 max_cp_rings; member
H A Dbnxt.c9451 hw_resc->max_cp_rings = le16_to_cpu(resp->max_cmpl_rings); in bnxt_hwrm_func_resc_qcaps()
9631 hw_resc->max_cp_rings = le16_to_cpu(resp->max_cmpl_rings); in __bnxt_hwrm_func_qcaps()
11126 return bp->hw_resc.max_cp_rings; in bnxt_get_max_func_cp_rings()
11131 unsigned int cp = bp->hw_resc.max_cp_rings; in bnxt_get_max_func_cp_rings_for_en()
11146 return min_t(unsigned int, hw_resc->max_irqs, hw_resc->max_cp_rings); in bnxt_get_max_func_irqs()