]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
mlx4: Bump up MAX_MSIX from 64 to 128
authorJonathan Lemon <jonathan.lemon@gmail.com>
Thu, 9 Jan 2020 19:23:17 +0000 (11:23 -0800)
committerJakub Kicinski <kuba@kernel.org>
Sun, 12 Jan 2020 20:32:32 +0000 (12:32 -0800)
On modern hardware with a large number of cpus and using XDP,
the current MSIX limit is insufficient.  Bump the limit in
order to allow more queues.

Signed-off-by: Jonathan Lemon <jonathan.lemon@gmail.com>
Reviewed-by: Jack Wang <jinpu.wang@cloud.ionos.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/linux/mlx4/device.h

index 36e412c3d657009841c1d442a56077a08a34e15d..20372de0b587cf4f928e66a7578997acd8d1c1d0 100644 (file)
@@ -47,7 +47,7 @@
 #define DEFAULT_UAR_PAGE_SHIFT  12
 
 #define MAX_MSIX_P_PORT                17
-#define MAX_MSIX               64
+#define MAX_MSIX               128
 #define MIN_MSIX_P_PORT                5
 #define MLX4_IS_LEGACY_EQ_MODE(dev_cap) ((dev_cap).num_comp_vectors < \
                                         (dev_cap).num_ports * MIN_MSIX_P_PORT)