Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c2945 int sum_norm_weight; member
3700 int i, g = 0, sum_norm_weight = 0; in mlxsw_sp_nexthop_group_normalize() local
3720 sum_norm_weight += nh->norm_nh_weight; in mlxsw_sp_nexthop_group_normalize()
3723 nhgi->sum_norm_weight = sum_norm_weight; in mlxsw_sp_nexthop_group_normalize()
3730 int total = nhgi->sum_norm_weight; in mlxsw_sp_nexthop_group_rebalance()
3908 if (!nhgi->sum_norm_weight) { in mlxsw_sp_nexthop_group_refresh()
3916 ecmp_size = nhgi->sum_norm_weight; in mlxsw_sp_nexthop_group_refresh()