Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb.c25 int min_credit, multiplier; in ixgbe_ieee_credits() local
28 min_credit = ((max_frame / 2) + DCB_CREDIT_QUANTUM - 1) / in ixgbe_ieee_credits()
36 multiplier = (min_credit / min_percent) + 1; in ixgbe_ieee_credits()
42 if (val < min_credit) in ixgbe_ieee_credits()
43 val = min_credit; in ixgbe_ieee_credits()
46 max[i] = bw[i] ? (bw[i] * MAX_CREDIT)/100 : min_credit; in ixgbe_ieee_credits()
67 int min_credit; in ixgbe_dcb_calculate_tc_credits() local
80 min_credit = ((max_frame / 2) + DCB_CREDIT_QUANTUM - 1) / in ixgbe_dcb_calculate_tc_credits()
103 min_multiplier = (min_credit / min_percent) + 1; in ixgbe_dcb_calculate_tc_credits()
124 if (credit_refill < min_credit) in ixgbe_dcb_calculate_tc_credits()
[all …]