Home
last modified time | relevance | path

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

/linux-6.3-rc2/net/ipv4/
A Dnexthop.c153 u16 num_nh_buckets = res_table->num_nh_buckets; in nh_notifier_res_table_info_init() local
164 info->nh_res_table->num_nh_buckets = num_nh_buckets; in nh_notifier_res_table_info_init()
166 for (i = 0; i < num_nh_buckets; i++) { in nh_notifier_res_table_info_init()
563 res_table->num_nh_buckets = num_nh_buckets; in nexthop_res_table_alloc()
639 res_table->num_nh_buckets) || in nla_put_nh_group_res()
1575 for (i = 0; i < res_table->num_nh_buckets; i++) { in nh_res_table_upkeep()
1672 for (i = 0; i < res_table->num_nh_buckets; i++) { in nh_res_table_migrate_buckets()
1969 old_res_table->num_nh_buckets) { in replace_nexthop_grp()
3356 bucket_index < res_table->num_nh_buckets; in rtm_dump_nexthop_bucket_nh()
3523 if (bucket_index >= res_table->num_nh_buckets) { in rtm_get_nexthop_bucket()
[all …]
/linux-6.3-rc2/include/net/
A Dnexthop.h94 u16 num_nh_buckets; member
202 u16 num_nh_buckets; 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()
4677 for (i = 0; i < nh_res_table->num_nh_buckets; i++) { in mlxsw_sp_nexthop_obj_res_group_validate()
4847 nhs = info->nh_res_table->num_nh_buckets; in mlxsw_sp_nexthop_obj_group_info_init()
/linux-6.3-rc2/drivers/net/netdevsim/
A Dfib.c1138 occ = info->nh_res_table->num_nh_buckets; in nsim_nexthop_create()

Completed in 35 milliseconds