Home
last modified time | relevance | path

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

/freebsd/sys/dev/ixgbe/
H A Dixgbe_dcb.c56 int min_credit, multiplier; in ixgbe_dcb_calculate_tc_credits() local
59 min_credit = ((max_frame_size / 2) + IXGBE_DCB_CREDIT_QUANTUM - 1) / in ixgbe_dcb_calculate_tc_credits()
67 multiplier = (min_credit / min_percent) + 1; in ixgbe_dcb_calculate_tc_credits()
73 if (val < min_credit) in ixgbe_dcb_calculate_tc_credits()
74 val = min_credit; in ixgbe_dcb_calculate_tc_credits()
77 max[i] = bw[i] ? (bw[i]*IXGBE_DCB_MAX_CREDIT)/100 : min_credit; in ixgbe_dcb_calculate_tc_credits()
103 u32 min_credit = 0; in ixgbe_dcb_calculate_tc_credits_cee() local
115 min_credit = ((max_frame_size / 2) + IXGBE_DCB_CREDIT_QUANTUM - 1) / in ixgbe_dcb_calculate_tc_credits_cee()
138 min_multiplier = (min_credit / min_percent) + 1; in ixgbe_dcb_calculate_tc_credits_cee()
159 if (credit_refill < min_credit) in ixgbe_dcb_calculate_tc_credits_cee()
[all …]