Searched refs:link_percentage (Results 1 – 1 of 1) sorted by relevance
100 u16 link_percentage = 0; in ixgbe_dcb_calculate_tc_credits_cee() local116 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 …]