Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Drx_res.c67 int mlx5e_rx_res_rss_init(struct mlx5e_rx_res *res, u32 *rss_idx, unsigned int init_nch) in mlx5e_rx_res_rss_init() argument
93 *rss_idx = i; in mlx5e_rx_res_rss_init()
102 static int __mlx5e_rx_res_rss_destroy(struct mlx5e_rx_res *res, u32 rss_idx) in __mlx5e_rx_res_rss_destroy() argument
104 struct mlx5e_rss *rss = res->rss[rss_idx]; in __mlx5e_rx_res_rss_destroy()
112 res->rss[rss_idx] = NULL; in __mlx5e_rx_res_rss_destroy()
117 int mlx5e_rx_res_rss_destroy(struct mlx5e_rx_res *res, u32 rss_idx) in mlx5e_rx_res_rss_destroy() argument
121 if (rss_idx >= MLX5E_MAX_NUM_RSS) in mlx5e_rx_res_rss_destroy()
124 rss = res->rss[rss_idx]; in mlx5e_rx_res_rss_destroy()
128 return __mlx5e_rx_res_rss_destroy(res, rss_idx); in mlx5e_rx_res_rss_destroy()
191 int mlx5e_rx_res_rss_get_rxfh(struct mlx5e_rx_res *res, u32 rss_idx, in mlx5e_rx_res_rss_get_rxfh() argument
[all …]
Drx_res.h46 int mlx5e_rx_res_rss_get_rxfh(struct mlx5e_rx_res *res, u32 rss_idx,
48 int mlx5e_rx_res_rss_set_rxfh(struct mlx5e_rx_res *res, u32 rss_idx,
57 int mlx5e_rx_res_rss_init(struct mlx5e_rx_res *res, u32 *rss_idx, unsigned int init_nch);
58 int mlx5e_rx_res_rss_destroy(struct mlx5e_rx_res *res, u32 rss_idx);
61 struct mlx5e_rss *mlx5e_rx_res_rss_get(struct mlx5e_rx_res *res, u32 rss_idx);