Searched refs:max_cp (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt.c | 14126 int *max_cp); 14132 int max_rx, max_tx, max_cp, tx_sets = 1, tx_cp; in bnxt_check_rings() local 14140 _bnxt_get_max_rings(bp, &max_rx, &max_tx, &max_cp); in bnxt_check_rings() 14157 if (max_cp < hwr.cp) in bnxt_check_rings() 15724 int *max_cp) in _bnxt_get_max_rings() argument 15731 *max_cp = bnxt_get_max_func_cp_rings_for_en(bp); in _bnxt_get_max_rings() 15737 *max_cp = min_t(int, *max_cp, max_irq); in _bnxt_get_max_rings() 15740 *max_cp -= 1; in _bnxt_get_max_rings() 15748 rc = __bnxt_trim_rings(bp, max_rx, max_tx, *max_cp, false); in _bnxt_get_max_rings() 15754 *max_cp = max_irq; in _bnxt_get_max_rings() [all …]
|