Searched refs:vhca_ids (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | rqt.c | 7 static bool verify_num_vhca_ids(struct mlx5_core_dev *mdev, u32 *vhca_ids, in verify_num_vhca_ids() argument 15 if (vhca_ids[i] >= max_num_vhca_id) in verify_num_vhca_ids() 20 static bool rqt_verify_vhca_ids(struct mlx5_core_dev *mdev, u32 *vhca_ids, in rqt_verify_vhca_ids() argument 23 if (!vhca_ids) in rqt_verify_vhca_ids() 28 if (!verify_num_vhca_ids(mdev, vhca_ids, size)) in rqt_verify_vhca_ids() 43 static void fill_rqn_list(void *rqtc, u32 *rqns, u32 *vhca_ids, unsigned int size) in fill_rqn_list() argument 47 if (vhca_ids) { in fill_rqn_list() 51 MLX5_SET(rqtc, rqtc, rq_vhca[i].rq_vhca_id, vhca_ids[i]); in fill_rqn_list() 111 static int mlx5e_calc_indir_rqns(u32 *rss_rqns, u32 *rqns, u32 *rss_vhca_ids, u32 *vhca_ids, in mlx5e_calc_indir_rqns() argument 131 if (vhca_ids) in mlx5e_calc_indir_rqns() [all …]
|
D | rqt.h | 31 u32 *rqns, u32 *vhca_ids, unsigned int num_rqns, 43 int mlx5e_rqt_redirect_indir(struct mlx5e_rqt *rqt, u32 *rqns, u32 *vhca_ids,
|
D | rss.h | 42 void mlx5e_rss_enable(struct mlx5e_rss *rss, u32 *rqns, u32 *vhca_ids, unsigned int num_rqns); 50 u32 *rqns, u32 *vhca_ids, unsigned int num_rqns);
|
D | rx_res.c | 97 u32 *vhca_ids = get_vhca_ids(res, 0); in mlx5e_rx_res_rss_init() local 99 mlx5e_rss_enable(rss, res->rss_rqns, vhca_ids, res->rss_nch); in mlx5e_rx_res_rss_init() 167 u32 *vhca_ids; in mlx5e_rx_res_rss_enable() local 171 vhca_ids = get_vhca_ids(res, 0); in mlx5e_rx_res_rss_enable() 172 mlx5e_rss_enable(rss, res->rss_rqns, vhca_ids, res->rss_nch); in mlx5e_rx_res_rss_enable() 216 u32 *vhca_ids = get_vhca_ids(res, 0); in mlx5e_rx_res_rss_set_rxfh() local 226 return mlx5e_rss_set_rxfh(rss, indir, key, hfunc, res->rss_rqns, vhca_ids, in mlx5e_rx_res_rss_set_rxfh()
|
D | rss.c | 476 static int mlx5e_rss_apply(struct mlx5e_rss *rss, u32 *rqns, u32 *vhca_ids, unsigned int num_rqns) in mlx5e_rss_apply() argument 480 err = mlx5e_rqt_redirect_indir(&rss->rqt, rqns, vhca_ids, num_rqns, rss->hash.hfunc, in mlx5e_rss_apply() 488 void mlx5e_rss_enable(struct mlx5e_rss *rss, u32 *rqns, u32 *vhca_ids, unsigned int num_rqns) in mlx5e_rss_enable() argument 491 mlx5e_rss_apply(rss, rqns, vhca_ids, num_rqns); in mlx5e_rss_enable() 572 u32 *rqns, u32 *vhca_ids, unsigned int num_rqns) in mlx5e_rss_set_rxfh() argument 612 err = mlx5e_rss_apply(rss, rqns, vhca_ids, num_rqns); in mlx5e_rss_set_rxfh()
|