Home
last modified time | relevance | path

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

/linux-6.15/include/net/
H A Dnexthop.h128 struct nh_group { struct
129 struct nh_group *spare; /* spare group for removals */ argument
161 struct nh_group __rcu *nh_grp; argument
282 const struct nh_group *nh_grp; in nexthop_is_fdb()
297 struct nh_group *nh_grp; in nexthop_has_v4()
308 struct nh_group *nh_grp; in nexthop_is_multipath()
323 struct nh_group *nh_grp; in nexthop_num_path()
371 struct nh_group *nh_grp; in nexthop_is_blackhole()
404 struct nh_group *nh_grp; in nexthop_fib_nhc()
428 struct nh_group *nhg = rcu_dereference(nh->nh_grp); in nexthop_get_nhc_lookup()
[all …]
/linux-6.15/net/ipv4/
H A Dnexthop.c271 struct nh_group *nhg; in nh_notifier_res_bucket_idle_timer_get()
412 struct nh_group *nhg; in call_nexthop_res_table_notifiers()
484 struct nh_group *nhg; in nexthop_free_group()
550 struct nh_group *nhg; in nexthop_grp_alloc()
709 struct nh_group *nhg; in nh_notifier_grp_hw_stats_init()
750 struct nh_group *nhg; in nh_grp_hw_stats_apply_update()
1483 struct nh_group *nhg; in nexthop_select_path()
1507 struct nh_group *nhg; in nexthop_for_each_fib6_nh()
2183 struct nh_group *nhg; in nh_rt_cache_flush()
2690 struct nh_group *nhg; in nexthop_create_group()
[all …]
/linux-6.15/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c480 struct mlxsw_sp_nexthop_group *nh_group; member
5914 fib_entry->nh_group = nh_grp; in mlxsw_sp_nexthop4_group_get()
5948 struct mlxsw_sp_nexthop_group *nh_group = fib_entry->nh_group; in mlxsw_sp_fib_entry_should_offload() local
5961 return !!nh_group->nhgi->adj_index_valid; in mlxsw_sp_fib_entry_should_offload()
5963 return !!mlxsw_sp_nhgi_rif(nh_group->nhgi); in mlxsw_sp_fib_entry_should_offload()
6209 struct mlxsw_sp_nexthop_group *nh_group = fib_entry->nh_group; in mlxsw_sp_fib_entry_op_remote() local
6492 err = mlxsw_sp_nexthop_group_vr_link(fib_entry->nh_group, in mlxsw_sp_fib4_entry_create()
7175 fib6_entry->common.nh_group = nh_grp; in mlxsw_sp_nexthop6_group_get()
7206 fib6_entry->common.nh_group = NULL; in mlxsw_sp_nexthop6_group_update()
7239 fib6_entry->common.nh_group = old_nh_grp; in mlxsw_sp_nexthop6_group_update()
[all …]