Home
last modified time | relevance | path

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

/linux-6.3-rc2/net/ipv4/
A Dnexthop.c161 if (!info->nh_res_table) in nh_notifier_res_table_info_init()
200 vfree(info->nh_res_table); in nh_notifier_grp_info_fini()
256 struct nh_res_table *res_table; in nh_notifier_res_bucket_idle_timer_get()
545 static struct nh_res_table *
549 struct nh_res_table *res_table; in nexthop_res_table_alloc()
1620 struct nh_res_table *res_table; in nh_res_table_upkeep_dw()
1824 struct nh_res_table *res_table; in remove_nexthop_group()
2086 struct nh_res_table *res_table; in replace_nexthop_single_notify()
3345 struct nh_res_table *res_table; in rtm_dump_nexthop_bucket_nh()
3505 struct nh_res_table *res_table; in rtm_get_nexthop_bucket()
[all …]
/linux-6.3-rc2/include/net/
A Dnexthop.h80 struct nh_res_table { struct
128 struct nh_res_table __rcu *res_table;
214 struct nh_notifier_res_table_info *nh_res_table; member
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_router.c4629 if (nh_res_table->num_nh_buckets < 32) { in mlxsw_sp_nexthop_obj_res_group_size_validate()
4639 if (nh_res_table->num_nh_buckets >= size_range->start && in mlxsw_sp_nexthop_obj_res_group_size_validate()
4640 nh_res_table->num_nh_buckets <= size_range->end) { in mlxsw_sp_nexthop_obj_res_group_size_validate()
4653 nh_res_table->num_nh_buckets, in mlxsw_sp_nexthop_obj_res_group_size_validate()
4655 if (err || nh_res_table->num_nh_buckets != alloc_size) { in mlxsw_sp_nexthop_obj_res_group_size_validate()
4672 nh_res_table, in mlxsw_sp_nexthop_obj_res_group_validate()
4677 for (i = 0; i < nh_res_table->num_nh_buckets; i++) { in mlxsw_sp_nexthop_obj_res_group_validate()
4681 nh = &nh_res_table->nhs[i]; in mlxsw_sp_nexthop_obj_res_group_validate()
4712 info->nh_res_table, in mlxsw_sp_nexthop_obj_validate()
4847 nhs = info->nh_res_table->num_nh_buckets; in mlxsw_sp_nexthop_obj_group_info_init()
[all …]
/linux-6.3-rc2/drivers/net/netdevsim/
A Dfib.c1138 occ = info->nh_res_table->num_nh_buckets; in nsim_nexthop_create()

Completed in 34 milliseconds