Searched refs:num_nh_buckets (Results 1 – 4 of 4) sorted by relevance
96 u16 num_nh_buckets; member97 struct nh_res_bucket nh_buckets[] __counted_by(num_nh_buckets);215 u16 num_nh_buckets; member217 struct nh_notifier_single_info nhs[] __counted_by(num_nh_buckets);
166 u16 num_nh_buckets = res_table->num_nh_buckets; in nh_notifier_res_table_info_init() local177 info->nh_res_table->num_nh_buckets = num_nh_buckets; in nh_notifier_res_table_info_init()180 for (i = 0; i < num_nh_buckets; i++) { in nh_notifier_res_table_info_init()579 res_table->num_nh_buckets = num_nh_buckets; in nexthop_res_table_alloc()655 res_table->num_nh_buckets) || in nla_put_nh_group_res()1848 for (i = 0; i < res_table->num_nh_buckets; i++) { in nh_res_table_upkeep()1923 btw = ((u64)res_table->num_nh_buckets) * w; in nh_res_group_rebalance()2245 old_res_table->num_nh_buckets) { in replace_nexthop_grp()3671 bucket_index < res_table->num_nh_buckets; in rtm_dump_nexthop_bucket_nh()3822 if (bucket_index >= res_table->num_nh_buckets) { in rtm_get_nexthop_bucket()[all …]
1138 occ = info->nh_res_table->num_nh_buckets; in nsim_nexthop_create()
4975 if (nh_res_table->num_nh_buckets < 32) { in mlxsw_sp_nexthop_obj_res_group_size_validate()4985 if (nh_res_table->num_nh_buckets >= size_range->start && 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()5023 for (i = 0; i < nh_res_table->num_nh_buckets; i++) { in mlxsw_sp_nexthop_obj_res_group_validate()5192 nhs = info->nh_res_table->num_nh_buckets; in mlxsw_sp_nexthop_obj_group_info_init()