mirror of https://gitee.com/openkylin/linux.git
net/mlx5e: Increase aRFS flow tables size
Increase the aRFS flow table size to 64k so it could contain up to 64k different streams. Signed-off-by: Maor Gottlieb <maorg@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
This commit is contained in:
parent
6c63efe4cf
commit
93edcb3a75
|
@ -213,7 +213,7 @@ static int arfs_add_default_rule(struct mlx5e_priv *priv,
|
|||
}
|
||||
|
||||
#define MLX5E_ARFS_NUM_GROUPS 2
|
||||
#define MLX5E_ARFS_GROUP1_SIZE BIT(12)
|
||||
#define MLX5E_ARFS_GROUP1_SIZE (BIT(16) - 1)
|
||||
#define MLX5E_ARFS_GROUP2_SIZE BIT(0)
|
||||
#define MLX5E_ARFS_TABLE_SIZE (MLX5E_ARFS_GROUP1_SIZE +\
|
||||
MLX5E_ARFS_GROUP2_SIZE)
|
||||
|
|
Loading…
Reference in New Issue