]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
net/mlx5e: Increase aRFS flow tables size
authorMaor Gottlieb <maorg@mellanox.com>
Thu, 3 May 2018 09:40:30 +0000 (12:40 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 1 Jun 2018 23:48:14 +0000 (16:48 -0700)
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>
drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c

index f64b5e78519bb8a750a160411bc92cf41c3bdfec..75e4308ba786aeca51bba013031aeee485e96dd9 100644 (file)
@@ -213,7 +213,7 @@ out:
 }
 
 #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)