Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/
Den_dcbnl.c292 int bw_sum = 0; in mlx5e_dbcnl_validate_ets() local
309 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()
/Linux-v6.6/drivers/net/ethernet/freescale/enetc/
Denetc_qos.c246 int bw_sum = 0; in enetc_setup_tc_cbs() local
292 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()