From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 18F731B4AA for ; Thu, 29 Nov 2018 14:24:10 +0100 (CET) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 7AA927B020; Thu, 29 Nov 2018 13:24:09 +0000 (UTC) Received: from ktraynor.remote.csb (ovpn-117-230.ams2.redhat.com [10.36.117.230]) by smtp.corp.redhat.com (Postfix) with ESMTP id 37E74101962B; Thu, 29 Nov 2018 13:24:08 +0000 (UTC) From: Kevin Traynor To: Joyce Kong Cc: Gavin Hu , Jerin Jacob , dpdk stable Date: Thu, 29 Nov 2018 13:21:14 +0000 Message-Id: <20181129132128.7609-74-ktraynor@redhat.com> In-Reply-To: <20181129132128.7609-1-ktraynor@redhat.com> References: <20181129132128.7609-1-ktraynor@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Thu, 29 Nov 2018 13:24:09 +0000 (UTC) Subject: [dpdk-stable] patch 'config: enable more than 128 cores for arm64' has been queued to stable release 18.08.1 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: Thu, 29 Nov 2018 13:24:10 -0000 Hi, FYI, your patch has been queued to stable release 18.08.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 12/08/18. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. If the code is different (ie: not only metadata diffs), due for example to a change in context or macro names, please double check it. Thanks. Kevin Traynor --- >>From badffcd9073fe826640d56f754a14190f4ec2ca2 Mon Sep 17 00:00:00 2001 From: Joyce Kong Date: Thu, 22 Nov 2018 15:37:07 +0800 Subject: [PATCH] config: enable more than 128 cores for arm64 [ 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 arm64 platform. Fixes: b3ce00e5 ("mk: introduce ARMv8 architecture") 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 b497901b0..e96840b48 100644 --- a/config/arm/meson.build +++ b/config/arm/meson.build @@ -47,4 +47,5 @@ flags_common_default = [ flags_generic = [ ['RTE_MACHINE', '"armv8a"'], + ['RTE_MAX_LCORE', 256], ['RTE_CACHE_LINE_SIZE', 128]] flags_cavium = [ diff --git a/config/defconfig_arm64-armv8a-linuxapp-gcc b/config/defconfig_arm64-armv8a-linuxapp-gcc index 184274437..a6ed90c51 100644 --- a/config/defconfig_arm64-armv8a-linuxapp-gcc +++ b/config/defconfig_arm64-armv8a-linuxapp-gcc @@ -7,2 +7,3 @@ CONFIG_RTE_TOOLCHAIN="gcc" CONFIG_RTE_TOOLCHAIN_GCC=y +CONFIG_RTE_MAX_LCORE=256 -- 2.19.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2018-11-29 13:11:36.874308818 +0000 +++ 0073-config-enable-more-than-128-cores-for-arm64.patch 2018-11-29 13:11:34.000000000 +0000 @@ -1,8 +1,10 @@ -From 9b47ed438ab9dba47856c8e93880b88d94715519 Mon Sep 17 00:00:00 2001 +From badffcd9073fe826640d56f754a14190f4ec2ca2 Mon Sep 17 00:00:00 2001 From: Joyce Kong Date: Thu, 22 Nov 2018 15:37:07 +0800 Subject: [PATCH] config: enable more than 128 cores for arm64 +[ 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) @@ -13,7 +15,6 @@ 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 @@ -24,7 +25,7 @@ 2 files changed, 2 insertions(+) diff --git a/config/arm/meson.build b/config/arm/meson.build -index b75513855..3f917250d 100644 +index b497901b0..e96840b48 100644 --- a/config/arm/meson.build +++ b/config/arm/meson.build @@ -47,4 +47,5 @@ flags_common_default = [