patches for DPDK stable branches
 help / color / mirror / Atom feed
* [dpdk-stable] [PATCH 1/2] config: enable more than 128 cores for Arm platform
@ 2018-11-21 10:52 Joyce Kong
  2018-11-21 10:52 ` [dpdk-stable] [PATCH 2/2] config: enable more than 128 cores for meson build Joyce Kong
  0 siblings, 1 reply; 3+ messages in thread
From: Joyce Kong @ 2018-11-21 10:52 UTC (permalink / raw)
  To: gavin.hu; +Cc: joyce.kong, stable

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")
Cc: stable@dpdk.org

Signed-off-by: Joyce Kong <joyce.kong@arm.com>
Reviewed-by: Gavin Hu <gavin.hu@arm.com>
---
 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 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
-- 
2.7.4

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [dpdk-stable] [PATCH 2/2] config: enable more than 128 cores for meson build
  2018-11-21 10:52 [dpdk-stable] [PATCH 1/2] config: enable more than 128 cores for Arm platform Joyce Kong
@ 2018-11-21 10:52 ` Joyce Kong
  0 siblings, 0 replies; 3+ messages in thread
From: Joyce Kong @ 2018-11-21 10:52 UTC (permalink / raw)
  To: gavin.hu; +Cc: joyce.kong, stable

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 thundex platform
for meson build.

Fixes: 200b88cb ("build: detect micro-arch on ARM")
Cc: stable@dpdk.org

Signed-off-by: Joyce Kong <joyce.kong@arm.com>
Reviewed-by: Gavin Hu <gavin.hu@arm.com>
---
 config/arm/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config/arm/meson.build b/config/arm/meson.build
index b755138..020df09 100644
--- a/config/arm/meson.build
+++ b/config/arm/meson.build
@@ -51,7 +51,7 @@ flags_cavium = [
 	['RTE_MACHINE', '"thunderx"'],
 	['RTE_CACHE_LINE_SIZE', 128],
 	['RTE_MAX_NUMA_NODES', 2],
-	['RTE_MAX_LCORE', 96],
+	['RTE_MAX_LCORE', 256],
 	['RTE_MAX_VFIO_GROUPS', 128],
 	['RTE_USE_C11_MEM_MODEL', false]]
 flags_dpaa = [
-- 
2.7.4

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [dpdk-stable] [PATCH 2/2] config: enable more than 128 cores for meson build
  2018-11-21 10:50 [dpdk-stable] [PATCH 1/2] config: enable more than 128 cores for Arm platform Joyce Kong
@ 2018-11-21 10:50 ` Joyce Kong
  0 siblings, 0 replies; 3+ messages in thread
From: Joyce Kong @ 2018-11-21 10:50 UTC (permalink / raw)
  To: joyce.kong; +Cc: stable

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 thundex platform
for meson build.

Fixes: 200b88cb ("build: detect micro-arch on ARM")
Cc: stable@dpdk.org

Signed-off-by: Joyce Kong <joyce.kong@arm.com>
Reviewed-by: Gavin Hu <gavin.hu@arm.com>
---
 config/arm/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config/arm/meson.build b/config/arm/meson.build
index b755138..020df09 100644
--- a/config/arm/meson.build
+++ b/config/arm/meson.build
@@ -51,7 +51,7 @@ flags_cavium = [
 	['RTE_MACHINE', '"thunderx"'],
 	['RTE_CACHE_LINE_SIZE', 128],
 	['RTE_MAX_NUMA_NODES', 2],
-	['RTE_MAX_LCORE', 96],
+	['RTE_MAX_LCORE', 256],
 	['RTE_MAX_VFIO_GROUPS', 128],
 	['RTE_USE_C11_MEM_MODEL', false]]
 flags_dpaa = [
-- 
2.7.4

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-11-21 10:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-21 10:52 [dpdk-stable] [PATCH 1/2] config: enable more than 128 cores for Arm platform Joyce Kong
2018-11-21 10:52 ` [dpdk-stable] [PATCH 2/2] config: enable more than 128 cores for meson build Joyce Kong
  -- strict thread matches above, loose matches on Subject: below --
2018-11-21 10:50 [dpdk-stable] [PATCH 1/2] config: enable more than 128 cores for Arm platform Joyce Kong
2018-11-21 10:50 ` [dpdk-stable] [PATCH 2/2] config: enable more than 128 cores for meson build Joyce Kong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).