From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from foss.arm.com (usa-sjc-mx-foss1.foss.arm.com [217.140.101.70]) by dpdk.org (Postfix) with ESMTP id 04A2B5F1B; Wed, 21 Nov 2018 12:10:43 +0100 (CET) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 4499935D1; Wed, 21 Nov 2018 03:10:43 -0800 (PST) Received: from net-arm-thunderx2.shanghai.arm.com (net-arm-thunderx2.shanghai.arm.com [10.169.40.106]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 3F7AC3F5A0; Wed, 21 Nov 2018 03:10:42 -0800 (PST) From: Joyce Kong To: dev@dpdk.org Cc: thomas@monjalon.net, jerin.jacob@caviumnetworks.com, Honnappa.Nagarahalli@arm.com, gavin.hu@arm.com, stable@dpdk.org Date: Wed, 21 Nov 2018 19:10:25 +0800 Message-Id: <1542798625-46722-3-git-send-email-joyce.kong@arm.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1542798625-46722-1-git-send-email-joyce.kong@arm.com> References: <1542798625-46722-1-git-send-email-joyce.kong@arm.com> Subject: [dpdk-stable] [PATCH v1 2/2] config: enable more than 128 cores for meson build X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2018 11:10:44 -0000 When running dpdk applications on cores whose ids are bigger than original max_core setting, eal error as below: EAL: Detected 104 lcore(s) EAL: Detected 2 NUMA nodes EAL: invalid core list -l CORELIST core indexes between 0 and 128 The fix is to increase max_core to 256 on thundex platform for meson build. Fixes: 200b88cb ("build: detect micro-arch on ARM") Cc: stable@dpdk.org Signed-off-by: Joyce Kong Reviewed-by: Gavin Hu --- config/arm/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/arm/meson.build b/config/arm/meson.build index b755138..020df09 100644 --- a/config/arm/meson.build +++ b/config/arm/meson.build @@ -51,7 +51,7 @@ flags_cavium = [ ['RTE_MACHINE', '"thunderx"'], ['RTE_CACHE_LINE_SIZE', 128], ['RTE_MAX_NUMA_NODES', 2], - ['RTE_MAX_LCORE', 96], + ['RTE_MAX_LCORE', 256], ['RTE_MAX_VFIO_GROUPS', 128], ['RTE_USE_C11_MEM_MODEL', false]] flags_dpaa = [ -- 2.7.4