From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) by dpdk.org (Postfix) with ESMTP id F379C262E for ; Mon, 26 Nov 2018 13:49:26 +0100 (CET) Received: by mail-wm1-f49.google.com with SMTP id c126so18243362wmh.0 for ; Mon, 26 Nov 2018 04:49:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=hV8xCeAKDZ7gHf80ntr76EG03zA0KAFrv7S7AxNpBU8=; b=slQr/PMglWgNt3fpZDL1cYkXWIxZteV+ez8T5cag5u0Op5ZuSGxQONWJzyOL0EbQTL 76nJ+dQtiSsmiiARUhJR2I78gfKkB2FBlJrnaRZ3ldWdARhi3cbrftb2GJAoQgHwDStJ 5CSLlXo10ZKLD6NiuvJSNs79hIksLiNX6iq5e6Nwvayb0y+WSl4j6vkm3e2+W22FdQ6L OubsIa3OfGVdvbZzF8mp4N2Mgl6Z/WJMmbWnWTsQXEqoqL7NPAgqn3gwZy6FUl/lSp4K RTa2xU1/YNvGAxcIU2SIAuI0+0tr+pY/Yyz1MkjN7vMfpE8F3JZ+EzohbtR3mDGzz0y7 KJYw== X-Gm-Message-State: AGRZ1gLLryz3/hZHaifU+r1s1tfgUiX5DoS5Kesg7P1nvsLqlsCL99up LO90CMt71MZMuCT6gHMgjxc= X-Google-Smtp-Source: AJdET5d2CBCLYvz84rV9uylDuPxAtx/s/d03+FtusAUvNmzmwgNr2cNO2mlOE1PYU07+TEVsz+/WMw== X-Received: by 2002:a1c:81d3:: with SMTP id c202mr21594913wmd.133.1543236566518; Mon, 26 Nov 2018 04:49:26 -0800 (PST) Received: from localhost ([2a01:4b00:f419:6f00:8361:8946:ba2b:d556]) by smtp.gmail.com with ESMTPSA id 5sm315314wmr.37.2018.11.26.04.49.25 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 26 Nov 2018 04:49:25 -0800 (PST) From: Luca Boccassi To: Joyce Kong Cc: Gavin Hu , Jerin Jacob , dpdk stable Date: Mon, 26 Nov 2018 12:49:14 +0000 Message-Id: <20181126124916.16240-3-bluca@debian.org> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181126124916.16240-1-bluca@debian.org> References: <20181119122538.14207-1-bluca@debian.org> <20181126124916.16240-1-bluca@debian.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'config: enable more than 128 cores for arm64' has been queued to LTS release 16.11.9 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: Mon, 26 Nov 2018 12:49:27 -0000 Hi, FYI, your patch has been queued to LTS release 16.11.9 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 11/28/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. Luca Boccassi --- >>From 85ebca219ae443e3189cab83fe51fbff76b702cb 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/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 6321884c8..3dbf69e54 100644 --- a/config/defconfig_arm64-armv8a-linuxapp-gcc +++ b/config/defconfig_arm64-armv8a-linuxapp-gcc @@ -41,6 +41,7 @@ CONFIG_RTE_FORCE_INTRINSICS=y CONFIG_RTE_TOOLCHAIN="gcc" CONFIG_RTE_TOOLCHAIN_GCC=y +CONFIG_RTE_MAX_LCORE=256 CONFIG_RTE_EAL_IGB_UIO=n -- 2.19.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2018-11-26 12:45:13.669450513 +0000 +++ 0003-config-enable-more-than-128-cores-for-arm64.patch 2018-11-26 12:45:13.603202331 +0000 @@ -1,8 +1,10 @@ -From 9b47ed438ab9dba47856c8e93880b88d94715519 Mon Sep 17 00:00:00 2001 +From 85ebca219ae443e3189cab83fe51fbff76b702cb 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,37 +15,26 @@ 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(+) + 1 file changed, 1 insertion(+) -diff --git a/config/arm/meson.build b/config/arm/meson.build -index b75513855..3f917250d 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 184274437..a6ed90c51 100644 +index 6321884c8..3dbf69e54 100644 --- a/config/defconfig_arm64-armv8a-linuxapp-gcc +++ b/config/defconfig_arm64-armv8a-linuxapp-gcc -@@ -6,3 +6,4 @@ +@@ -41,6 +41,7 @@ CONFIG_RTE_FORCE_INTRINSICS=y CONFIG_RTE_TOOLCHAIN="gcc" CONFIG_RTE_TOOLCHAIN_GCC=y +CONFIG_RTE_MAX_LCORE=256 + + CONFIG_RTE_EAL_IGB_UIO=n + -- 2.19.2