mlx5: fix RETA table size
authorYaacov Hazan <yaacovh@mellanox.com>
Thu, 31 Mar 2016 09:21:08 +0000 (12:21 +0300)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 31 Mar 2016 13:15:10 +0000 (15:15 +0200)
commitda04298a11969587f68970b3433e73a768a4c1d9
tree236c044d387302b1a2e55b0d7eb1763889f3e845
parentb185e63fdf7a5ae83d2c702a03172e8ac8765fe3
mlx5: fix RETA table size

When the number of RX queues is not a power of two,
the RETA table is configured to its maximum size for
better balancing.

Testing showed that limiting its size to 256 improves performance
noticeably with little to no  impact on balancing results.

Fixes: ebb30ec64a68 ("mlx5: increase RETA table size")

Signed-off-by: Yaacov Hazan <yaacovh@mellanox.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
drivers/net/mlx5/mlx5_defs.h