Home
last modified time | relevance | path

Searched refs:nh_res_table (Results 1 – 4 of 4) sorted by relevance

/linux-6.15/net/ipv4/
H A Dnexthop.c174 if (!info->nh_res_table) in nh_notifier_res_table_info_init()
214 vfree(info->nh_res_table); in nh_notifier_grp_info_fini()
270 struct nh_res_table *res_table; in nh_notifier_res_bucket_idle_timer_get()
561 static struct nh_res_table *
565 struct nh_res_table *res_table; in nexthop_res_table_alloc()
1893 struct nh_res_table *res_table; in nh_res_table_upkeep_dw()
2100 struct nh_res_table *res_table; in remove_nexthop_group()
2362 struct nh_res_table *res_table; in replace_nexthop_single_notify()
3663 struct nh_res_table *res_table; in rtm_dump_nexthop_bucket_nh()
3804 struct nh_res_table *res_table; in rtm_get_nexthop_bucket()
[all …]
/linux-6.15/include/net/
H A Dnexthop.h82 struct nh_res_table { struct
138 struct nh_res_table __rcu *res_table;
239 struct nh_notifier_res_table_info *nh_res_table; member
/linux-6.15/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c4975 if (nh_res_table->num_nh_buckets < 32) { in mlxsw_sp_nexthop_obj_res_group_size_validate()
4986 nh_res_table->num_nh_buckets <= size_range->end) { in mlxsw_sp_nexthop_obj_res_group_size_validate()
4999 nh_res_table->num_nh_buckets, in mlxsw_sp_nexthop_obj_res_group_size_validate()
5001 if (err || nh_res_table->num_nh_buckets != alloc_size) { in mlxsw_sp_nexthop_obj_res_group_size_validate()
5018 nh_res_table, in mlxsw_sp_nexthop_obj_res_group_validate()
5023 for (i = 0; i < nh_res_table->num_nh_buckets; i++) { in mlxsw_sp_nexthop_obj_res_group_validate()
5027 nh = &nh_res_table->nhs[i]; in mlxsw_sp_nexthop_obj_res_group_validate()
5058 info->nh_res_table, in mlxsw_sp_nexthop_obj_validate()
5192 nhs = info->nh_res_table->num_nh_buckets; in mlxsw_sp_nexthop_obj_group_info_init()
5193 hw_stats = info->nh_res_table->hw_stats; in mlxsw_sp_nexthop_obj_group_info_init()
[all …]
/linux-6.15/drivers/net/netdevsim/
H A Dfib.c1138 occ = info->nh_res_table->num_nh_buckets; in nsim_nexthop_create()