config: enable more than 128 cores for arm64
authorJoyce Kong <joyce.kong@arm.com>
Thu, 22 Nov 2018 07:37:07 +0000 (15:37 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 23 Nov 2018 01:03:33 +0000 (02:03 +0100)
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>
config/arm/meson.build
config/defconfig_arm64-armv8a-linuxapp-gcc

index b755138..3f91725 100644 (file)
@@ -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"'],
index 1842744..a6ed90c 100644 (file)
@@ -6,3 +6,4 @@
 
 CONFIG_RTE_TOOLCHAIN="gcc"
 CONFIG_RTE_TOOLCHAIN_GCC=y
+CONFIG_RTE_MAX_LCORE=256