mlx5: increase RETA table size
authorNelio Laranjeiro <nelio.laranjeiro@6wind.com>
Tue, 12 Jan 2016 10:49:09 +0000 (11:49 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 3 Mar 2016 19:39:47 +0000 (20:39 +0100)
ConnectX-4 NICs can handle at most 512 entries in RETA table.

Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
drivers/net/mlx5/mlx5_defs.h

index bb82c9a..ae5eda9 100644 (file)
@@ -47,7 +47,7 @@
 #define MLX5_PMD_TX_PER_COMP_REQ 64
 
 /* RSS Indirection table size. */
-#define RSS_INDIRECTION_TABLE_SIZE 128
+#define RSS_INDIRECTION_TABLE_SIZE 512
 
 /* Maximum number of Scatter/Gather Elements per Work Request. */
 #ifndef MLX5_PMD_SGE_WR_N