From patchwork Thu Nov 22 07:37:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joyce Kong X-Patchwork-Id: 48243 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 69B801B1FD; Thu, 22 Nov 2018 08:37:17 +0100 (CET) Received: from foss.arm.com (usa-sjc-mx-foss1.foss.arm.com [217.140.101.70]) by dpdk.org (Postfix) with ESMTP id 088F31B1F6; Thu, 22 Nov 2018 08:37:15 +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 2F7CD377A; Wed, 21 Nov 2018 23:37:15 -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 F1DD93F5A0; Wed, 21 Nov 2018 23:37:13 -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, nd@arm.com, stable@dpdk.org Date: Thu, 22 Nov 2018 15:37:07 +0800 Message-Id: <1542872227-143453-1-git-send-email-joyce.kong@arm.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1542870074-142423-1-git-send-email-joyce.kong@arm.com> References: <1542870074-142423-1-git-send-email-joyce.kong@arm.com> Subject: [dpdk-dev] [PATCH v4] config: enable more than 128 cores for Arm64 platform 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" 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 Arm64 platform. Fixes: b3ce00e5 ("mk: introduce ARMv8 architecture") Cc: stable@dpdk.org Signed-off-by: Joyce Kong Reviewed-by: Gavin Hu Acked-by: Jerin Jacob --- config/arm/meson.build | 1 + config/defconfig_arm64-armv8a-linuxapp-gcc | 1 + 2 files changed, 2 insertions(+) diff --git a/config/arm/meson.build b/config/arm/meson.build index b755138..3f91725 100644 --- a/config/arm/meson.build +++ b/config/arm/meson.build @@ -46,6 +46,7 @@ flags_common_default = [ flags_generic = [ ['RTE_MACHINE', '"armv8a"'], + ['RTE_MAX_LCORE', 256], ['RTE_CACHE_LINE_SIZE', 128]] flags_cavium = [ ['RTE_MACHINE', '"thunderx"'], diff --git a/config/defconfig_arm64-armv8a-linuxapp-gcc b/config/defconfig_arm64-armv8a-linuxapp-gcc index 1842744..a6ed90c 100644 --- a/config/defconfig_arm64-armv8a-linuxapp-gcc +++ b/config/defconfig_arm64-armv8a-linuxapp-gcc @@ -6,3 +6,4 @@ CONFIG_RTE_TOOLCHAIN="gcc" CONFIG_RTE_TOOLCHAIN_GCC=y +CONFIG_RTE_MAX_LCORE=256