Home
last modified time | relevance | path

Searched refs:rss_vhca_ids (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Drqt.c111 static int mlx5e_calc_indir_rqns(u32 *rss_rqns, u32 *rqns, u32 *rss_vhca_ids, u32 *vhca_ids, in mlx5e_calc_indir_rqns() argument
132 rss_vhca_ids[i] = vhca_ids[ix]; in mlx5e_calc_indir_rqns()
142 u32 *rss_rqns, *rss_vhca_ids = NULL; in mlx5e_rqt_init_indir() local
150 rss_vhca_ids = kvmalloc_array(indir->actual_table_size, sizeof(*rss_vhca_ids), in mlx5e_rqt_init_indir()
152 if (!rss_vhca_ids) { in mlx5e_rqt_init_indir()
158 err = mlx5e_calc_indir_rqns(rss_rqns, rqns, rss_vhca_ids, vhca_ids, num_rqns, hfunc, indir); in mlx5e_rqt_init_indir()
162 err = mlx5e_rqt_init(rqt, mdev, indir->max_table_size, rss_rqns, rss_vhca_ids, in mlx5e_rqt_init_indir()
166 kvfree(rss_vhca_ids); in mlx5e_rqt_init_indir()
234 u32 *rss_rqns, *rss_vhca_ids = NULL; in mlx5e_rqt_redirect_indir() local
248 rss_vhca_ids = kvmalloc_array(indir->actual_table_size, sizeof(*rss_vhca_ids), in mlx5e_rqt_redirect_indir()
[all …]
H A Drx_res.c22 u32 *rss_vhca_ids; member
42 return multi_vhca ? res->rss_vhca_ids + offset : NULL; in get_vhca_ids()
298 kvfree(res->rss_vhca_ids); in mlx5e_rx_res_free()
319 rx_res->rss_vhca_ids = kvcalloc(max_nch, sizeof(*rx_res->rss_vhca_ids), GFP_KERNEL); in mlx5e_rx_res_alloc()
320 if (!rx_res->rss_vhca_ids) { in mlx5e_rx_res_alloc()