Home
last modified time | relevance | path

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

/titanic_44/usr/src/uts/common/io/ixgbe/core/
H A Dixgbe_dcb.c100 u16 link_percentage = 0; in ixgbe_dcb_calculate_tc_credits_cee() local
116 link_percentage = p->bwg_percent; in ixgbe_dcb_calculate_tc_credits_cee()
118 link_percentage = (link_percentage * bw_percent) / 100; in ixgbe_dcb_calculate_tc_credits_cee()
120 if (link_percentage && link_percentage < min_percent) in ixgbe_dcb_calculate_tc_credits_cee()
121 min_percent = link_percentage; in ixgbe_dcb_calculate_tc_credits_cee()
139 link_percentage = p->bwg_percent; in ixgbe_dcb_calculate_tc_credits_cee()
141 link_percentage = (link_percentage * bw_percent) / 100; in ixgbe_dcb_calculate_tc_credits_cee()
142 if (p->bwg_percent > 0 && link_percentage == 0) in ixgbe_dcb_calculate_tc_credits_cee()
143 link_percentage = 1; in ixgbe_dcb_calculate_tc_credits_cee()
146 p->link_percent = (u8)link_percentage; in ixgbe_dcb_calculate_tc_credits_cee()
[all …]