Searched refs:max_cp (Results 1 – 1 of 1) sorted by relevance
5943 int max_cp = bnxt_get_max_func_cp_rings(bp); in bnxt_get_avail_msix() local5948 max_idx = min_t(int, bp->total_irqs, max_cp); in bnxt_get_avail_msix()8617 int *max_cp) in _bnxt_get_max_rings() argument8624 *max_cp = min_t(int, bnxt_get_max_func_cp_rings_for_en(bp), in _bnxt_get_max_rings()8626 *max_cp = min_t(int, *max_cp, hw_resc->max_stat_ctxs); in _bnxt_get_max_rings()8629 *max_cp -= 1; in _bnxt_get_max_rings()8672 int max_cp, max_stat, max_irq; in bnxt_get_dflt_rings() local8675 max_cp = bnxt_get_max_func_cp_rings(bp); in bnxt_get_dflt_rings()8678 if (max_cp <= BNXT_MIN_ROCE_CP_RINGS || in bnxt_get_dflt_rings()8683 max_cp -= BNXT_MIN_ROCE_CP_RINGS; in bnxt_get_dflt_rings()[all …]