Home
last modified time | relevance | path

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

/linux/include/net/
H A Dnexthop.h128 struct nh_group { struct
129 struct nh_group *spare; /* spare group for removals */ argument
163 struct nh_group __rcu *nh_grp;
284 const struct nh_group *nh_grp; in nexthop_is_fdb()
299 struct nh_group *nh_grp; in nexthop_has_v4()
310 struct nh_group *nh_grp; in nexthop_is_multipath()
325 struct nh_group *nh_grp; in nexthop_num_path()
336 struct nexthop *nexthop_mpath_select(const struct nh_group *nhg, int nhsel) in nexthop_mpath_select()
351 struct nh_group *nhg = rcu_dereference_rtnl(nh->nh_grp); in nexthop_mpath_fill_node()
373 struct nh_group *nh_grp; in nexthop_is_blackhole()
[all …]
/linux/net/ipv4/
H A Dnexthop.c134 struct nh_group *nhg) in nh_notifier_mpath_info_init()
162 struct nh_group *nhg) in nh_notifier_res_table_info_init()
196 struct nh_group *nhg = rtnl_dereference(nh->nh_grp); in nh_notifier_grp_info_init()
208 struct nh_group *nhg = rtnl_dereference(nh->nh_grp); in nh_notifier_grp_info_fini()
270 struct nh_group *nhg; in nh_notifier_res_bucket_idle_timer_get()
410 struct nh_group *nhg; in call_nexthop_res_table_notifiers()
482 struct nh_group *nhg; in nexthop_free_group()
547 static struct nh_group *nexthop_grp_alloc(u16 num_nh) in nexthop_grp_alloc()
549 struct nh_group *nhg; in nexthop_grp_alloc()
644 static int nla_put_nh_group_res(struct sk_buff *skb, struct nh_group *nhg) in nla_put_nh_group_res()
[all …]
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c480 struct mlxsw_sp_nexthop_group *nh_group; member
5913 fib_entry->nh_group = nh_grp; in mlxsw_sp_nexthop4_group_get()
5920 struct mlxsw_sp_nexthop_group *nh_grp = fib_entry->nh_group; in mlxsw_sp_nexthop4_group_put()
5947 struct mlxsw_sp_nexthop_group *nh_group = fib_entry->nh_group; in mlxsw_sp_fib_entry_should_offload() local
5960 return !!nh_group->nhgi->adj_index_valid; in mlxsw_sp_fib_entry_should_offload()
5962 return !!mlxsw_sp_nhgi_rif(nh_group->nhgi); in mlxsw_sp_fib_entry_should_offload()
6208 struct mlxsw_sp_nexthop_group *nh_group = fib_entry->nh_group; in mlxsw_sp_fib_entry_op_remote() local
6209 struct mlxsw_sp_nexthop_group_info *nhgi = nh_group->nhgi; in mlxsw_sp_fib_entry_op_remote()
6244 struct mlxsw_sp_rif *rif = mlxsw_sp_nhgi_rif(fib_entry->nh_group->nhgi); in mlxsw_sp_fib_entry_op_local()
6400 struct mlxsw_sp_nexthop_group_info *nhgi = fib_entry->nh_group->nhgi; in mlxsw_sp_fib4_entry_type_set()
[all …]