Searched refs:nh_weight (Results 1 – 8 of 8) sorted by relevance
126 nh->nh_weight != onh->nh_weight || in dn_fib_nh_comp()178 nh->nh_weight = nhp->rtnh_hops + 1; in dn_fib_get_nhs()338 nh->nh_weight = 1; in dn_fib_create_info()468 power += nh->nh_weight; in dn_fib_select_multipath()469 nh->nh_power = nh->nh_weight; in dn_fib_select_multipath()
359 nhp->rtnh_hops = nh->nh_weight - 1; in dn_fib_dump_info()
272 nh->nh_weight != onh->nh_weight || in nh_comp()508 nexthop_nh->nh_weight = rtnh->rtnh_hops + 1; in fib_get_nhs()580 total += nh->nh_weight; in fib_rebalance()596 w += nexthop_nh->nh_weight; in fib_rebalance()1172 nh->nh_weight = 1; in fib_create_info()1383 rtnh->rtnh_hops = nh->nh_weight - 1; in fib_dump_info()
23 int nh_weight; member
133 int nh_weight; member
86 int nh_weight; member
2574 int nh_weight; member2743 if (nh->ifindex == ifindex && nh->nh_weight == weight && in mlxsw_sp_nexthop6_group_has_nexthop()2765 weight = mlxsw_sp_rt6->rt->fib6_nh.nh_weight; in mlxsw_sp_nexthop6_group_cmp()3185 g = gcd(nh->nh_weight, g); in mlxsw_sp_nexthop_group_normalize()3187 g = nh->nh_weight; in mlxsw_sp_nexthop_group_normalize()3195 nh->norm_nh_weight = nh->nh_weight / g; in mlxsw_sp_nexthop_group_normalize()3576 nh->nh_weight = fib_nh->nh_weight; in mlxsw_sp_nexthop4_init()3578 nh->nh_weight = 1; in mlxsw_sp_nexthop4_init()4873 nh->nh_weight = rt->fib6_nh.nh_weight; in mlxsw_sp_nexthop6_init()
3071 rt->fib6_nh.nh_weight = 1; in ip6_route_info_create()3891 total += rt->fib6_nh.nh_weight; in rt6_multipath_total_weight()3895 total += iter->fib6_nh.nh_weight; in rt6_multipath_total_weight()3906 *weight += rt->fib6_nh.nh_weight; in rt6_upper_bound_set()4415 rt->fib6_nh.nh_weight = rtnh->rtnh_hops + 1; in ip6_route_multipath_add()4650 rtnh->rtnh_hops = rt->fib6_nh.nh_weight - 1; in rt6_add_nexthop()