Searched refs:rss_idx (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | rx_res.h | 46 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, 51 int mlx5e_rx_res_rss_get_hash_fields(struct mlx5e_rx_res *res, u32 rss_idx, 53 int mlx5e_rx_res_rss_set_hash_fields(struct mlx5e_rx_res *res, u32 rss_idx, 58 int mlx5e_rx_res_rss_init(struct mlx5e_rx_res *res, u32 *rss_idx, unsigned int init_nch); 59 int mlx5e_rx_res_rss_destroy(struct mlx5e_rx_res *res, u32 rss_idx); 62 struct mlx5e_rss *mlx5e_rx_res_rss_get(struct mlx5e_rx_res *res, u32 rss_idx);
|
D | rx_res.c | 67 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 …]
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_fs_ethtool.c | 900 u32 rss_idx = 0; in mlx5e_set_rss_hash_opt() local 905 rss_idx = nfc->rss_context; in mlx5e_set_rss_hash_opt() 936 err = mlx5e_rx_res_rss_set_hash_fields(priv->rx_res, rss_idx, tt, rx_hash_field); in mlx5e_set_rss_hash_opt() 947 u32 rss_idx = 0; in mlx5e_get_rss_hash_opt() local 951 rss_idx = nfc->rss_context; in mlx5e_get_rss_hash_opt() 958 hash_field = mlx5e_rx_res_rss_get_hash_fields(priv->rx_res, rss_idx, tt); in mlx5e_get_rss_hash_opt()
|