Skip to content

Commit a442c2c

Browse files
jlemonkuba-moo
authored andcommitted
mlx4: Bump up MAX_MSIX from 64 to 128
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>
1 parent 5c9166f commit a442c2c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎include/linux/mlx4/device.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
#define DEFAULT_UAR_PAGE_SHIFT 12
4848

4949
#define MAX_MSIX_P_PORT 17
50-
#define MAX_MSIX 64
50+
#define MAX_MSIX 128
5151
#define MIN_MSIX_P_PORT 5
5252
#define MLX4_IS_LEGACY_EQ_MODE(dev_cap) ((dev_cap).num_comp_vectors < \
5353
(dev_cap).num_ports * MIN_MSIX_P_PORT)

0 commit comments

Comments
 (0)