Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/ixgbe/core/
H A Dixgbe_dcb.c107 u16 link_percentage = 0; in ixgbe_dcb_calculate_tc_credits_cee() local
123 link_percentage = p->bwg_percent; in ixgbe_dcb_calculate_tc_credits_cee()
125 link_percentage = (link_percentage * bw_percent) / 100; in ixgbe_dcb_calculate_tc_credits_cee()
127 if (link_percentage && link_percentage < min_percent) in ixgbe_dcb_calculate_tc_credits_cee()
128 min_percent = link_percentage; in ixgbe_dcb_calculate_tc_credits_cee()
146 link_percentage = p->bwg_percent; in ixgbe_dcb_calculate_tc_credits_cee()
148 link_percentage = (link_percentage * bw_percent) / 100; in ixgbe_dcb_calculate_tc_credits_cee()
149 if (p->bwg_percent > 0 && link_percentage == 0) in ixgbe_dcb_calculate_tc_credits_cee()
150 link_percentage = 1; in ixgbe_dcb_calculate_tc_credits_cee()
153 p->link_percent = (u8)link_percentage; in ixgbe_dcb_calculate_tc_credits_cee()
[all …]