eal: increase max number of interrupt vectors
authorPavan Nikhilesh <pbhagavatula@marvell.com>
Sun, 31 Mar 2019 14:55:20 +0000 (14:55 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 2 Apr 2019 00:59:04 +0000 (02:59 +0200)
MSI-X permits a device to allocate up to 2048 interrupts as per PCIe
spec.
Increase the max number of vectors to a reasonable value of 512.

Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
lib/librte_eal/common/include/rte_eal_interrupts.h

index 9d302f4..b370c0d 100644 (file)
@@ -17,7 +17,7 @@
 #ifndef _RTE_EAL_INTERRUPTS_H_
 #define _RTE_EAL_INTERRUPTS_H_
 
-#define RTE_MAX_RXTX_INTR_VEC_ID     32
+#define RTE_MAX_RXTX_INTR_VEC_ID      512
 #define RTE_INTR_VEC_ZERO_OFFSET      0
 #define RTE_INTR_VEC_RXTX_OFFSET      1