Home
last modified time | relevance | path

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

/openbmc/linux/include/net/
H A Dip_fib.h531 struct fib_config *cfg, int nh_weight,
608 int nh_weight, u8 rt_family, u32 nh_tclassid);
/openbmc/linux/net/ipv4/
H A Dfib_semantics.c623 struct fib_config *cfg, int nh_weight, in fib_nh_init() argument
650 nh->fib_nh_weight = nh_weight; in fib_nh_init()
1707 int nh_weight, u8 rt_family, u32 nh_tclassid) in fib_add_nexthop() argument
1717 rtnh->rtnh_hops = nh_weight - 1; in fib_add_nexthop()
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c3064 int nh_weight; member
3374 if (nh->ifindex == ifindex && nh->nh_weight == weight && in mlxsw_sp_nexthop6_group_has_nexthop()
3882 g = gcd(nh->nh_weight, g); in mlxsw_sp_nexthop_group_normalize()
3884 g = nh->nh_weight; in mlxsw_sp_nexthop_group_normalize()
3892 nh->norm_nh_weight = nh->nh_weight / g; in mlxsw_sp_nexthop_group_normalize()
4500 nh->nh_weight = fib_nh->fib_nh_weight; in mlxsw_sp_nexthop4_init()
4502 nh->nh_weight = 1; in mlxsw_sp_nexthop4_init()
4994 nh->nh_weight = weight; in mlxsw_sp_nexthop_obj_init()
6732 nh->nh_weight = rt->fib6_nh->fib_nh_weight; in mlxsw_sp_nexthop6_init()