Home
last modified time | relevance | path

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

/linux-6.1.9/include/net/
Dnexthop.h119 struct nh_group { struct
120 struct nh_group *spare; /* spare group for removals */ argument
151 struct nh_group __rcu *nh_grp; argument
252 const struct nh_group *nh_grp; in nexthop_is_fdb()
267 struct nh_group *nh_grp; in nexthop_has_v4()
278 struct nh_group *nh_grp; in nexthop_is_multipath()
293 struct nh_group *nh_grp; in nexthop_num_path()
304 struct nexthop *nexthop_mpath_select(const struct nh_group *nhg, int nhsel) in nexthop_mpath_select()
319 struct nh_group *nhg = rtnl_dereference(nh->nh_grp); in nexthop_mpath_fill_node()
341 struct nh_group *nh_grp; in nexthop_is_blackhole()
[all …]
/linux-6.1.9/net/ipv4/
Dnexthop.c121 struct nh_group *nhg) in nh_notifier_mpath_info_init()
150 struct nh_group *nhg) in nh_notifier_res_table_info_init()
183 struct nh_group *nhg = rtnl_dereference(nh->nh_grp); in nh_notifier_grp_info_init()
195 struct nh_group *nhg = rtnl_dereference(nh->nh_grp); in nh_notifier_grp_info_fini()
257 struct nh_group *nhg; in nh_notifier_res_bucket_idle_timer_get()
397 struct nh_group *nhg; in call_nexthop_res_table_notifiers()
469 struct nh_group *nhg; in nexthop_free_group()
532 static struct nh_group *nexthop_grp_alloc(u16 num_nh) in nexthop_grp_alloc()
534 struct nh_group *nhg; in nexthop_grp_alloc()
629 static int nla_put_nh_group_res(struct sk_buff *skb, struct nh_group *nhg) in nla_put_nh_group_res()
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c450 struct mlxsw_sp_nexthop_group *nh_group; member
5441 fib_entry->nh_group = nh_grp; in mlxsw_sp_nexthop4_group_get()
5448 struct mlxsw_sp_nexthop_group *nh_grp = fib_entry->nh_group; in mlxsw_sp_nexthop4_group_put()
5475 struct mlxsw_sp_nexthop_group *nh_group = fib_entry->nh_group; in mlxsw_sp_fib_entry_should_offload() local
5488 return !!nh_group->nhgi->adj_index_valid; in mlxsw_sp_fib_entry_should_offload()
5490 return !!nh_group->nhgi->nh_rif; in mlxsw_sp_fib_entry_should_offload()
5735 struct mlxsw_sp_nexthop_group *nh_group = fib_entry->nh_group; in mlxsw_sp_fib_entry_op_remote() local
5736 struct mlxsw_sp_nexthop_group_info *nhgi = nh_group->nhgi; in mlxsw_sp_fib_entry_op_remote()
5770 struct mlxsw_sp_rif *rif = fib_entry->nh_group->nhgi->nh_rif; in mlxsw_sp_fib_entry_op_local()
5926 struct mlxsw_sp_nexthop_group_info *nhgi = fib_entry->nh_group->nhgi; in mlxsw_sp_fib4_entry_type_set()
[all …]