Searched refs:bw_sum (Results 1 – 2 of 2) sorted by relevance
292 int bw_sum = 0; in mlx5e_dbcnl_validate_ets() local309 bw_sum += ets->tc_tx_bw[i]; in mlx5e_dbcnl_validate_ets()313 if (have_ets_tc && bw_sum != 100) { in mlx5e_dbcnl_validate_ets()314 if (bw_sum || (!bw_sum && !zero_sum_allowed)) in mlx5e_dbcnl_validate_ets()
246 int bw_sum = 0; in enetc_setup_tc_cbs() local292 bw_sum += enetc_get_cbs_bw(hw, prio_top); in enetc_setup_tc_cbs()295 if (bw_sum + bw >= 100) { in enetc_setup_tc_cbs()