Home
last modified time | relevance | path

Searched refs:nh_group (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/include/net/
H A Dnexthop.h75 struct nh_group { struct
76 struct nh_group *spare; /* spare group for removals */
103 struct nh_group __rcu *nh_grp;
138 const struct nh_group *nh_grp; in nexthop_is_fdb()
153 struct nh_group *nh_grp; in nexthop_has_v4()
164 struct nh_group *nh_grp; in nexthop_is_multipath()
179 struct nh_group *nh_grp; in nexthop_num_path()
190 struct nexthop *nexthop_mpath_select(const struct nh_group *nhg, int nhsel) in nexthop_mpath_select()
205 struct nh_group *nhg = rtnl_dereference(nh->nh_grp); in nexthop_mpath_fill_node()
227 struct nh_group *nh_gr in nexthop_is_blackhole()
[all...]
/kernel/linux/linux-6.6/include/net/
H A Dnexthop.h119 struct nh_group { struct
120 struct nh_group *spare; /* spare group for removals */
151 struct nh_group __rcu *nh_grp;
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_gr in nexthop_is_blackhole()
[all...]
/kernel/linux/linux-6.6/net/ipv4/
H A 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 *nh
[all...]
/kernel/linux/linux-5.10/net/ipv4/
H A Dnexthop.c74 struct nh_group *nhg; in nexthop_free_mpath()
134 static struct nh_group *nexthop_grp_alloc(u16 num_nh) in nexthop_grp_alloc()
136 struct nh_group *nhg; in nexthop_grp_alloc()
193 static int nla_put_nh_group(struct sk_buff *skb, struct nh_group *nhg) in nla_put_nh_group()
249 struct nh_group *nhg = rtnl_dereference(nh->nh_grp); in nh_fill_node()
308 struct nh_group *nhg = rtnl_dereference(nh->nh_grp); in nh_nlmsg_size_grp()
391 struct nh_group *nhg = rtnl_dereference(nh->nh_grp); in valid_group_nh()
546 struct nh_group *nhg; in nexthop_select_path()
594 struct nh_group *nhg; in nexthop_for_each_fib6_nh()
643 struct nh_group *nh in fib6_check_nexthop()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c375 struct mlxsw_sp_nexthop_group *nh_group; member
4085 fib_entry->nh_group = nh_grp; in mlxsw_sp_nexthop4_group_get()
4092 struct mlxsw_sp_nexthop_group *nh_grp = fib_entry->nh_group; in mlxsw_sp_nexthop4_group_put()
4113 struct mlxsw_sp_nexthop_group *nh_group = fib_entry->nh_group; in mlxsw_sp_fib_entry_should_offload() local
4126 return !!nh_group->adj_index_valid; in mlxsw_sp_fib_entry_should_offload()
4128 return !!nh_group->nh_rif; in mlxsw_sp_fib_entry_should_offload()
4162 struct fib_info *fi = mlxsw_sp_nexthop4_group_fi(fib_entry->nh_group); in mlxsw_sp_fib4_entry_hw_flags_set()
4187 struct fib_info *fi = mlxsw_sp_nexthop4_group_fi(fib_entry->nh_group); in mlxsw_sp_fib4_entry_hw_flags_clear()
4347 struct mlxsw_sp_nexthop_group *nh_group in mlxsw_sp_fib_entry_op_remote() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A 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 in mlxsw_sp_fib_entry_op_remote()
[all...]

Completed in 32 milliseconds