From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 4F7F4A05D3 for ; Tue, 26 Mar 2019 13:54:40 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2D6954CA9; Tue, 26 Mar 2019 13:54:40 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id EC7BF3772 for ; Tue, 26 Mar 2019 13:54:38 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x2QCisq0022973; Tue, 26 Mar 2019 05:54:37 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : content-type : content-transfer-encoding : mime-version; s=pfpt0818; bh=sbNIMn5ZdmfoFvY+RoA0xIHquMOhfv5HI/U7QUGCwGY=; b=cJSuWzxJzhkQJIhx+USbP519vfW/JAqo1girQTReXm2liggE6aKXnWLt2uqGO/6MwDCt dSXqVUr4lmWB9dV9E+9oK/fIW4niihU3CeV/3BF/tVKLe3M7m+ZWUj71ad5SNWOLxKc7 fVRfqFYQ9pJip7NVEGUdIuo0t9YTfjYyL20Ez8vnX6+WKs0Gr4d9n9IWt5CVZnQH5taE VnZmwv+VtJ5NTqL06a8xfmYcDVwqgVMp5QBY4C+8eCmKewnNnq0j379dYA0ONLuQ9ZxO zEJBugv4AOnYtwwgZ1OkNquJG2zBDDd7DmAPjEG2NpfdRXZeCYwTlehppRCswMfcr1fC DA== Received: from sc-exch02.marvell.com ([199.233.58.182]) by mx0a-0016f401.pphosted.com with ESMTP id 2rfhk90fvc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 26 Mar 2019 05:54:37 -0700 Received: from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Tue, 26 Mar 2019 05:54:36 -0700 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (104.47.36.50) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Tue, 26 Mar 2019 05:54:36 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sbNIMn5ZdmfoFvY+RoA0xIHquMOhfv5HI/U7QUGCwGY=; b=cxaC6jIMMBEcPMPT868DIXRTRBllLDu/Ah7xcQcW9Tm8Vd1ZGeMhf66xDk7Xr3CBt2ihx10qXLKEcmHNs4RSzCn3mqQO9G7BzBDBc6RR0SI6rwwNetTk5xOqW+cJhnu9T+cXNgEUxOcikya/pjSWIgw7iHpoTjXjdMG4qnV5lqk= Received: from CY4PR1801MB1863.namprd18.prod.outlook.com (10.171.255.14) by CY4PR1801MB2022.namprd18.prod.outlook.com (10.171.255.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1730.15; Tue, 26 Mar 2019 12:54:32 +0000 Received: from CY4PR1801MB1863.namprd18.prod.outlook.com ([fe80::286d:5e93:974e:8bfa]) by CY4PR1801MB1863.namprd18.prod.outlook.com ([fe80::286d:5e93:974e:8bfa%2]) with mapi id 15.20.1750.014; Tue, 26 Mar 2019 12:54:32 +0000 From: Pavan Nikhilesh Bhagavatula To: Jerin Jacob Kollanukkaran , "thomas@monjalon.net" CC: "dev@dpdk.org" , Pavan Nikhilesh Bhagavatula Thread-Topic: [dpdk-dev] [PATCH] eal: make max interrupt vectors configurable Thread-Index: AQHU49MOgIY8NC23ukiqY4FZTeYHPA== Date: Tue, 26 Mar 2019 12:54:32 +0000 Message-ID: <20190326125327.5264-1-pbhagavatula@marvell.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: SG2PR06CA0180.apcprd06.prod.outlook.com (2603:1096:1:1e::34) To CY4PR1801MB1863.namprd18.prod.outlook.com (2603:10b6:910:7a::14) x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.21.0 x-originating-ip: [183.82.23.126] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e7def9a7-c491-41d7-977a-08d6b1ea311f x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(2017052603328)(7153060)(7193020); SRVR:CY4PR1801MB2022; x-ms-traffictypediagnostic: CY4PR1801MB2022: x-microsoft-antispam-prvs: x-forefront-prvs: 09888BC01D x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(346002)(376002)(396003)(39860400002)(136003)(189003)(199004)(54906003)(110136005)(81166006)(50226002)(105586002)(81156014)(8676002)(5660300002)(68736007)(186003)(316002)(36756003)(7736002)(8936002)(71190400001)(53936002)(4326008)(2906002)(478600001)(25786009)(71200400001)(107886003)(1076003)(99286004)(86362001)(52116002)(26005)(386003)(6116002)(6512007)(3846002)(66066001)(6486002)(97736004)(2616005)(256004)(2501003)(305945005)(106356001)(14444005)(476003)(14454004)(78486014)(6506007)(6436002)(486006)(102836004); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR1801MB2022; H:CY4PR1801MB1863.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: WqU/SP4mqsTza0/ZO1bMqtgBYoJNd0XNIEncFxbLIVFyKF58lzkkFFEAAz/v5llgqC1JOQ0dsFptH9yA4ROY5IiLXCni1BdUN6WKCTjuBvnl+3M5p4ivJbiprqWrv09kDXPa46Jzw79mgyJlAUwtjVIlCB7pOtvdzpUXVjvgc292YBdWyooMNuEv4Fp3OAd8TnvXXu1m2lAhH1d3p61gnw3XUTx8bkeyOOnbJVZarJEMLCbiSIOovAH6iMA/sr+FBD5Njs3Sl2KJE5fZMk+hotSWvXf8awJVlCl+ayKToV2AMiB5sqoyNx9px0hNqTLlqM/HLsPbf0rWZrdMCEqyx7wYhllZ9xwYBRxkL2DP2G+NSYcKH5KHzVbmkOaHUOQELezWM6dvpNYR65tkj82RhItZTOnhOFSSH6xBp8V5ecg= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: e7def9a7-c491-41d7-977a-08d6b1ea311f X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Mar 2019 12:54:32.7283 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR1801MB2022 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-03-26_09:, , signatures=0 Subject: [dpdk-dev] [PATCH] eal: make max interrupt vectors configurable X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Message-ID: <20190326125432.HTzKi6-XD6ZC0Isgl9hsGwQrvFEvUbRBDM37GQSkWBs@z> From: Pavan Nikhilesh Make max interrupt vectors configurable so that platforms can choose interrupt vector limit. Signed-off-by: Pavan Nikhilesh --- config/common_base | 1 + lib/librte_eal/common/include/rte_eal_interrupts.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config/common_base b/config/common_base index 0b09a9348..e84f8a233 100644 --- a/config/common_base +++ b/config/common_base @@ -68,6 +68,7 @@ CONFIG_RTE_MAX_LCORE=3D128 CONFIG_RTE_MAX_NUMA_NODES=3D8 CONFIG_RTE_MAX_HEAPS=3D32 CONFIG_RTE_MAX_MEMSEG_LISTS=3D64 +CONFIG_RTE_MAX_INTERRUPT_VECTORS=3D32 # each memseg list will be limited to either RTE_MAX_MEMSEG_PER_LIST pages # or RTE_MAX_MEM_MB_PER_LIST megabytes worth of memory, whichever is small= er CONFIG_RTE_MAX_MEMSEG_PER_LIST=3D8192 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..19e44019f 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_ =20 -#define RTE_MAX_RXTX_INTR_VEC_ID 32 +#define RTE_MAX_RXTX_INTR_VEC_ID RTE_MAX_INTERRUPT_VECTORS #define RTE_INTR_VEC_ZERO_OFFSET 0 #define RTE_INTR_VEC_RXTX_OFFSET 1 =20 --=20 2.20.1