Home
last modified time | relevance | path

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

/linux-6.6.21/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.6.21/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.6.21/drivers/net/ethernet/mellanox/mlxsw/ !
Dspectrum_router.c479 struct mlxsw_sp_nexthop_group *nh_group; member
5664 fib_entry->nh_group = nh_grp; in mlxsw_sp_nexthop4_group_get()
5671 struct mlxsw_sp_nexthop_group *nh_grp = fib_entry->nh_group; in mlxsw_sp_nexthop4_group_put()
5698 struct mlxsw_sp_nexthop_group *nh_group = fib_entry->nh_group; in mlxsw_sp_fib_entry_should_offload() local
5711 return !!nh_group->nhgi->adj_index_valid; in mlxsw_sp_fib_entry_should_offload()
5713 return !!mlxsw_sp_nhgi_rif(nh_group->nhgi); in mlxsw_sp_fib_entry_should_offload()
5959 struct mlxsw_sp_nexthop_group *nh_group = fib_entry->nh_group; in mlxsw_sp_fib_entry_op_remote() local
5960 struct mlxsw_sp_nexthop_group_info *nhgi = nh_group->nhgi; in mlxsw_sp_fib_entry_op_remote()
5995 struct mlxsw_sp_rif *rif = mlxsw_sp_nhgi_rif(fib_entry->nh_group->nhgi); in mlxsw_sp_fib_entry_op_local()
6151 struct mlxsw_sp_nexthop_group_info *nhgi = fib_entry->nh_group->nhgi; in mlxsw_sp_fib4_entry_type_set()
[all …]