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

/linux-master/include/net/
H A Dnexthop.h96 u16 num_nh_buckets; member in struct:nh_res_table
97 struct nh_res_bucket nh_buckets[] __counted_by(num_nh_buckets);
215 u16 num_nh_buckets; member in struct:nh_notifier_res_table_info
217 struct nh_notifier_single_info nhs[] __counted_by(num_nh_buckets);
/linux-master/net/ipv4/
H A Dnexthop.c166 u16 num_nh_buckets = res_table->num_nh_buckets; local
171 size = struct_size(info->nh_res_table, nhs, num_nh_buckets);
177 info->nh_res_table->num_nh_buckets = num_nh_buckets;
180 for (i = 0; i < num_nh_buckets; i++) {
564 const u16 num_nh_buckets = cfg->nh_grp_res_num_buckets; local
568 size = struct_size(res_table, nh_buckets, num_nh_buckets);
579 res_table->num_nh_buckets = num_nh_buckets;
[all...]
/linux-master/drivers/net/netdevsim/
H A Dfib.c1138 occ = info->nh_res_table->num_nh_buckets;
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c4975 if (nh_res_table->num_nh_buckets < 32) {
4985 if (nh_res_table->num_nh_buckets >= size_range->start &&
4986 nh_res_table->num_nh_buckets <= size_range->end) {
4999 nh_res_table->num_nh_buckets,
5001 if (err || nh_res_table->num_nh_buckets != alloc_size) {
5023 for (i = 0; i < nh_res_table->num_nh_buckets; i++) {
5192 nhs = info->nh_res_table->num_nh_buckets;

Completed in 313 milliseconds