Searched refs:MLX5E_INDIR_RQT_SIZE (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | rqt.c | 12 for (i = 0; i < MLX5E_INDIR_RQT_SIZE; i++) in mlx5e_rss_params_indir_init_uniform() 50 u16 max_size = indir_enabled ? MLX5E_INDIR_RQT_SIZE : 1; in mlx5e_rqt_init_direct() 71 for (i = 0; i < MLX5E_INDIR_RQT_SIZE; i++) { in mlx5e_calc_indir_rqns() 75 ix = mlx5e_bits_invert(ix, ilog2(MLX5E_INDIR_RQT_SIZE)); in mlx5e_calc_indir_rqns() 97 rss_rqns = kvmalloc_array(MLX5E_INDIR_RQT_SIZE, sizeof(*rss_rqns), GFP_KERNEL); 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() 154 if (WARN_ON(rqt->size != MLX5E_INDIR_RQT_SIZE)) in mlx5e_rqt_redirect_indir() 157 rss_rqns = kvmalloc_array(MLX5E_INDIR_RQT_SIZE, sizeof(*rss_rqns), GFP_KERNEL); in mlx5e_rqt_redirect_indir() 165 err = mlx5e_rqt_redirect(rqt, rss_rqns, MLX5E_INDIR_RQT_SIZE); in mlx5e_rqt_redirect_indir()
|
D | rqt.h | 9 #define MLX5E_INDIR_RQT_SIZE (1 << 8) macro 14 u32 table[MLX5E_INDIR_RQT_SIZE];
|
D | rss.c | 476 for (i = 0; i < MLX5E_INDIR_RQT_SIZE; i++) in mlx5e_rss_get_rxfh() 530 for (i = 0; i < MLX5E_INDIR_RQT_SIZE; i++) in mlx5e_rss_set_rxfh()
|
D | rx_res.c | 21 u32 rss_rqns[MLX5E_INDIR_RQT_SIZE];
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en.h | 144 #define MLX5E_MAX_NUM_CHANNELS (MLX5E_INDIR_RQT_SIZE / 2)
|
D | en_ethtool.c | 1255 return MLX5E_INDIR_RQT_SIZE; in mlx5e_ethtool_get_rxfh_indir_size()
|