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 33100292D for ; Fri, 22 Feb 2019 10:51:26 +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 519D515AB; Fri, 22 Feb 2019 01:51:25 -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 A6F2E3F703; Fri, 22 Feb 2019 01:51:24 -0800 (PST) From: Joyce Kong To: stable@dpdk.org Cc: joyce.kong@arm.com Date: Fri, 22 Feb 2019 17:51:17 +0800 Message-Id: <1550829077-5750-1-git-send-email-joyce.kong@arm.com> X-Mailer: git-send-email 2.7.4 Subject: [dpdk-stable] [PATCH] config: enable more than 128 cores for Arm platform 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: Fri, 22 Feb 2019 09:51:26 -0000 [ backported from upstream commit 9b47ed438ab9dba47856c8e93880b88d94715519 ] 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 Arm platform. Fixes: b3ce00e5 ("mk: introduce ARMv8 architecture") Signed-off-by: Joyce Kong Reviewed-by: Gavin Hu --- config/defconfig_arm64-armv8a-linuxapp-gcc | 1 + 1 file changed, 1 insertion(+) diff --git a/config/defconfig_arm64-armv8a-linuxapp-gcc b/config/defconfig_arm64-armv8a-linuxapp-gcc index 9775ca1..144a553 100644 --- a/config/defconfig_arm64-armv8a-linuxapp-gcc +++ b/config/defconfig_arm64-armv8a-linuxapp-gcc @@ -33,3 +33,4 @@ CONFIG_RTE_TOOLCHAIN="gcc" CONFIG_RTE_TOOLCHAIN_GCC=y +CONFIG_RTE_MAX_LCORE=256 -- 2.7.4