Lines Matching defs:max_nch
13 unsigned int max_nch;
65 &res->pkt_merge_param, MLX5E_RSS_INIT_TIRS, init_nch, res->max_nch);
91 res->max_nch);
303 static struct mlx5e_rx_res *mlx5e_rx_res_alloc(struct mlx5_core_dev *mdev, unsigned int max_nch,
312 rx_res->rss_rqns = kvcalloc(max_nch, sizeof(*rx_res->rss_rqns), GFP_KERNEL);
319 rx_res->rss_vhca_ids = kvcalloc(max_nch, sizeof(*rx_res->rss_vhca_ids), GFP_KERNEL);
341 res->channels = kvcalloc(res->max_nch, sizeof(*res->channels), GFP_KERNEL);
347 for (ix = 0; ix < res->max_nch; ix++) {
350 mlx5e_rqt_size(res->mdev, res->max_nch));
358 for (ix = 0; ix < res->max_nch; ix++) {
381 ix = res->max_nch;
405 mlx5e_rqt_size(res->mdev, res->max_nch));
433 for (ix = 0; ix < res->max_nch; ix++) {
449 unsigned int max_nch, u32 drop_rqn,
457 res = mlx5e_rx_res_alloc(mdev, max_nch, multi_vhca);
463 res->max_nch = max_nch;
578 for (ix = nch; ix < res->max_nch; ix++)
602 for (ix = 0; ix < res->max_nch; ix++)
658 for (ix = 0; ix < res->max_nch; ix++) {