Home
last modified time | relevance | path

Searched refs:rss_rqns (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
130 rss_rqns[i] = rqns[ix]; in mlx5e_calc_indir_rqns()
142 u32 *rss_rqns, *rss_vhca_ids = NULL; in mlx5e_rqt_init_indir() local
145 rss_rqns = kvmalloc_array(indir->actual_table_size, sizeof(*rss_rqns), GFP_KERNEL); in mlx5e_rqt_init_indir()
146 if (!rss_rqns) in mlx5e_rqt_init_indir()
153 kvfree(rss_rqns); 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()
167 kvfree(rss_rqns); in mlx5e_rqt_init_indir()
234 u32 *rss_rqns, *rss_vhca_ids = NULL; in mlx5e_rqt_redirect_indir() local
[all …]
H A Drx_res.c21 u32 *rss_rqns; member
99 mlx5e_rss_enable(rss, res->rss_rqns, vhca_ids, res->rss_nch); in mlx5e_rx_res_rss_init()
172 mlx5e_rss_enable(rss, res->rss_rqns, vhca_ids, res->rss_nch); in mlx5e_rx_res_rss_enable()
226 return mlx5e_rss_set_rxfh(rss, indir, key, hfunc, res->rss_rqns, vhca_ids, in mlx5e_rx_res_rss_set_rxfh()
299 kvfree(res->rss_rqns); in mlx5e_rx_res_free()
312 rx_res->rss_rqns = kvcalloc(max_nch, sizeof(*rx_res->rss_rqns), GFP_KERNEL); in mlx5e_rx_res_alloc()
313 if (!rx_res->rss_rqns) { in mlx5e_rx_res_alloc()
321 kvfree(rx_res->rss_rqns); in mlx5e_rx_res_alloc()
535 u32 rqn = res->rss_rqns[ix]; in mlx5e_rx_res_channel_activate_direct()
568 mlx5e_channels_get_xsk_rqn(chs, ix, &res->rss_rqns[ix], vhca_id); in mlx5e_rx_res_channels_activate()
[all …]