Home
last modified time | relevance | path

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

/linux-6.3-rc2/include/net/
A Dip_fib.h526 struct fib_config *cfg, int nh_weight,
603 int nh_weight, u8 rt_family, u32 nh_tclassid);
/linux-6.3-rc2/net/ipv4/
A Dfib_semantics.c622 struct fib_config *cfg, int nh_weight, in fib_nh_init() argument
649 nh->fib_nh_weight = nh_weight; in fib_nh_init()
1701 int nh_weight, u8 rt_family, u32 nh_tclassid) in fib_add_nexthop() argument
1711 rtnh->rtnh_hops = nh_weight - 1; in fib_add_nexthop()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_router.c2915 int nh_weight; member
3206 if (nh->ifindex == ifindex && nh->nh_weight == weight && in mlxsw_sp_nexthop6_group_has_nexthop()
3713 g = gcd(nh->nh_weight, g); in mlxsw_sp_nexthop_group_normalize()
3715 g = nh->nh_weight; in mlxsw_sp_nexthop_group_normalize()
3723 nh->norm_nh_weight = nh->nh_weight / g; in mlxsw_sp_nexthop_group_normalize()
4297 nh->nh_weight = fib_nh->fib_nh_weight; in mlxsw_sp_nexthop4_init()
4299 nh->nh_weight = 1; in mlxsw_sp_nexthop4_init()
4774 nh->nh_weight = weight; in mlxsw_sp_nexthop_obj_init()
6510 nh->nh_weight = rt->fib6_nh->fib_nh_weight; in mlxsw_sp_nexthop6_init()

Completed in 41 milliseconds