summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorJoyce Kong <joyce.kong@arm.com>2018-11-22 15:37:07 +0800
committerThomas Monjalon <thomas@monjalon.net>2018-11-23 02:03:33 +0100
commit9b47ed438ab9dba47856c8e93880b88d94715519 (patch)
tree61f909b99aa6b26e1f86178d0787bc9d4ebf1309 /config
parente846cfdec34cc58b9a1a2438d313028246b8e986 (diff)
downloaddpdk-draft-windows-9b47ed438ab9dba47856c8e93880b88d94715519.zip
dpdk-draft-windows-9b47ed438ab9dba47856c8e93880b88d94715519.tar.gz
dpdk-draft-windows-9b47ed438ab9dba47856c8e93880b88d94715519.tar.xz
config: enable more than 128 cores for arm64
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 <joyce.kong@arm.com> Reviewed-by: Gavin Hu <gavin.hu@arm.com> Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
Diffstat (limited to 'config')
-rw-r--r--config/arm/meson.build1
-rw-r--r--config/defconfig_arm64-armv8a-linuxapp-gcc1
2 files changed, 2 insertions, 0 deletions
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