From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavan Nikhilesh Bhagavatula Subject: [PATCH v3] eal: increase max number of interrupt vectors Date: Sun, 31 Mar 2019 14:55:20 +0000 Message-ID: <20190331145452.4144-1-pbhagavatula@marvell.com> References: <20190326125327.5264-1-pbhagavatula@marvell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Cc: "dev@dpdk.org" , Pavan Nikhilesh Bhagavatula To: Jerin Jacob Kollanukkaran , "thomas@monjalon.net" , "bruce.richardson@intel.com" , "anatoly.burakov@intel.com" Return-path: Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id A65AC2B9A for ; Sun, 31 Mar 2019 16:55:30 +0200 (CEST) In-Reply-To: <20190326125327.5264-1-pbhagavatula@marvell.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" From: Pavan Nikhilesh 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 --- v3 Changes: - Instead of making it a configurable option set max vectors to a reasonab= le value of 512. v2 Changes: - Add defaults for meson build. (Jerin Jacob) lib/librte_eal/common/include/rte_eal_interrupts.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_eal/common/include/rte_eal_interrupts.h b/lib/librt= e_eal/common/include/rte_eal_interrupts.h index 9d302f412..b370c0d26 100644 --- a/lib/librte_eal/common/include/rte_eal_interrupts.h +++ b/lib/librte_eal/common/include/rte_eal_interrupts.h @@ -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 -- 2.21.0