Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/ixgbe/core/
H A Dixgbe_dcb.c57 int min_credit, multiplier; in ixgbe_dcb_calculate_tc_credits() local
60 min_credit = ((max_frame_size / 2) + IXGBE_DCB_CREDIT_QUANTUM - 1) / in ixgbe_dcb_calculate_tc_credits()
68 multiplier = (min_credit / min_percent) + 1; in ixgbe_dcb_calculate_tc_credits()
74 if (val < min_credit) in ixgbe_dcb_calculate_tc_credits()
75 val = min_credit; in ixgbe_dcb_calculate_tc_credits()
78 max[i] = bw[i] ? (bw[i]*IXGBE_DCB_MAX_CREDIT)/100 : min_credit; in ixgbe_dcb_calculate_tc_credits()
104 u32 min_credit = 0; in ixgbe_dcb_calculate_tc_credits_cee() local
116 min_credit = ((max_frame_size / 2) + IXGBE_DCB_CREDIT_QUANTUM - 1) / in ixgbe_dcb_calculate_tc_credits_cee()
139 min_multiplier = (min_credit / min_percent) + 1; in ixgbe_dcb_calculate_tc_credits_cee()
160 if (credit_refill < min_credit) in ixgbe_dcb_calculate_tc_credits_cee()
[all …]