Searched refs:rss_rqns (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | rqt.c | 66 static int mlx5e_calc_indir_rqns(u32 *rss_rqns, u32 *rqns, unsigned int num_rqns, in mlx5e_calc_indir_rqns() argument 84 rss_rqns[i] = rqns[ix]; in mlx5e_calc_indir_rqns() 94 u32 *rss_rqns; in mlx5e_rqt_init_indir() local 97 rss_rqns = kvmalloc_array(MLX5E_INDIR_RQT_SIZE, sizeof(*rss_rqns), GFP_KERNEL); in mlx5e_rqt_init_indir() 98 if (!rss_rqns) in mlx5e_rqt_init_indir() 101 err = mlx5e_calc_indir_rqns(rss_rqns, rqns, num_rqns, hfunc, indir); in mlx5e_rqt_init_indir() 105 err = mlx5e_rqt_init(rqt, mdev, MLX5E_INDIR_RQT_SIZE, rss_rqns, MLX5E_INDIR_RQT_SIZE); in mlx5e_rqt_init_indir() 108 kvfree(rss_rqns); in mlx5e_rqt_init_indir() 151 u32 *rss_rqns; in mlx5e_rqt_redirect_indir() local 157 rss_rqns = kvmalloc_array(MLX5E_INDIR_RQT_SIZE, sizeof(*rss_rqns), GFP_KERNEL); in mlx5e_rqt_redirect_indir() [all …]
|
D | rx_res.c | 21 u32 rss_rqns[MLX5E_INDIR_RQT_SIZE]; member 90 mlx5e_rss_enable(rss, res->rss_rqns, res->rss_nch); in mlx5e_rx_res_rss_init() 165 mlx5e_rss_enable(rss, res->rss_rqns, res->rss_nch); in mlx5e_rx_res_rss_enable() 218 return mlx5e_rss_set_rxfh(rss, indir, key, hfunc, res->rss_rqns, res->rss_nch); in mlx5e_rx_res_rss_set_rxfh() 475 u32 rqn = res->rss_rqns[ix]; in mlx5e_rx_res_channel_activate_direct() 506 mlx5e_channels_get_xsk_rqn(chs, ix, &res->rss_rqns[ix]); in mlx5e_rx_res_channels_activate() 508 mlx5e_channels_get_regular_rqn(chs, ix, &res->rss_rqns[ix]); in mlx5e_rx_res_channels_activate() 556 mlx5e_channels_get_xsk_rqn(chs, ix, &res->rss_rqns[ix]); in mlx5e_rx_res_xsk_update() 558 mlx5e_channels_get_regular_rqn(chs, ix, &res->rss_rqns[ix]); in mlx5e_rx_res_xsk_update()
|