Searched refs:rqns (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A 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() 91 u32 *rqns, unsigned int num_rqns, in mlx5e_rqt_init_indir() argument 101 err = mlx5e_calc_indir_rqns(rss_rqns, rqns, num_rqns, hfunc, indir); in mlx5e_rqt_init_indir() 117 static int mlx5e_rqt_redirect(struct mlx5e_rqt *rqt, u32 *rqns, unsigned int size) in mlx5e_rqt_redirect() argument 135 MLX5_SET(rqtc, rqtc, rq_num[i], rqns[i]); in mlx5e_rqt_redirect() 148 int mlx5e_rqt_redirect_indir(struct mlx5e_rqt *rqt, u32 *rqns, unsigned int num_rqns, in mlx5e_rqt_redirect_indir() argument 161 err = mlx5e_calc_indir_rqns(rss_rqns, rqns, num_rqns, hfunc, indir); in mlx5e_rqt_redirect_indir()
|
H A D | rqt.h | 29 u32 *rqns, unsigned int num_rqns, 39 int mlx5e_rqt_redirect_indir(struct mlx5e_rqt *rqt, u32 *rqns, unsigned int num_rqns,
|
H A D | rss.h | 36 void mlx5e_rss_enable(struct mlx5e_rss *rss, u32 *rqns, unsigned int num_rqns); 44 u32 *rqns, unsigned int num_rqns);
|
H A D | rss.c | 394 static int mlx5e_rss_apply(struct mlx5e_rss *rss, u32 *rqns, unsigned int num_rqns) in mlx5e_rss_apply() argument 398 err = mlx5e_rqt_redirect_indir(&rss->rqt, rqns, num_rqns, rss->hash.hfunc, &rss->indir); in mlx5e_rss_apply() 405 void mlx5e_rss_enable(struct mlx5e_rss *rss, u32 *rqns, unsigned int num_rqns) in mlx5e_rss_enable() argument 408 mlx5e_rss_apply(rss, rqns, num_rqns); in mlx5e_rss_enable() 491 u32 *rqns, unsigned int num_rqns) in mlx5e_rss_set_rxfh() argument 535 err = mlx5e_rss_apply(rss, rqns, num_rqns); in mlx5e_rss_set_rxfh()
|