Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
H A Dhw_atl2.c253 u32 sum_weight = 0; in hw_atl2_hw_init_tx_tc_rate_limit() local
280 sum_weight += tc_weight[tc]; in hw_atl2_hw_init_tx_tc_rate_limit()
307 if (!weight && sum_weight < max_weight) in hw_atl2_hw_init_tx_tc_rate_limit()
308 weight = (max_weight - sum_weight) / in hw_atl2_hw_init_tx_tc_rate_limit()
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/
H A Dhw_atl_b0.c345 u32 sum_weight = 0; in hw_atl_b0_hw_init_tx_tc_rate_limit() local
370 sum_weight += tc_weight[tc]; in hw_atl_b0_hw_init_tx_tc_rate_limit()
402 if (!weight && sum_weight < max_weight) in hw_atl_b0_hw_init_tx_tc_rate_limit()
403 weight = (max_weight - sum_weight) / in hw_atl_b0_hw_init_tx_tc_rate_limit()