Searched refs:link_percentage (Results 1 – 1 of 1) sorted by relevance
73 u16 link_percentage = 0; in ixgbe_dcb_calculate_tc_credits() local87 link_percentage = p->bwg_percent; in ixgbe_dcb_calculate_tc_credits()89 link_percentage = (link_percentage * bw_percent) / 100; in ixgbe_dcb_calculate_tc_credits()91 if (link_percentage && link_percentage < min_percent) in ixgbe_dcb_calculate_tc_credits()92 min_percent = link_percentage; in ixgbe_dcb_calculate_tc_credits()110 link_percentage = p->bwg_percent; in ixgbe_dcb_calculate_tc_credits()112 link_percentage = (link_percentage * bw_percent) / 100; in ixgbe_dcb_calculate_tc_credits()113 if (p->bwg_percent > 0 && link_percentage == 0) in ixgbe_dcb_calculate_tc_credits()114 link_percentage = 1; in ixgbe_dcb_calculate_tc_credits()117 p->link_percent = (u8)link_percentage; in ixgbe_dcb_calculate_tc_credits()[all …]