DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] config: update RTE_MAX_LCORE for ppc build
@ 2019-06-05 22:57 David Wilder
  2019-06-05 23:21 ` David Christensen
  0 siblings, 1 reply; 3+ messages in thread
From: David Wilder @ 2019-06-05 22:57 UTC (permalink / raw)
  To: dev; +Cc: thomas, bruce.richardson, pradeep, drc

Setting RTE_MAX_LCORE to reflect the largest available configuration.

Signed-off-by: David Wilder <dwilder@us.ibm.com>
---
I am splitting my previous patch "meson: Update flags and values for ppc_64" 
into two separate patches (not a series).  This is the second patch.
Updating values for both the meson and make builds per Thomas's comments.

 config/defconfig_ppc_64-power8-linuxapp-gcc | 2 +-
 config/ppc_64/meson.build                   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/config/defconfig_ppc_64-power8-linuxapp-gcc b/config/defconfig_ppc_64-power8-linuxapp-gcc
index 7e248b7..04b04ce 100644
--- a/config/defconfig_ppc_64-power8-linuxapp-gcc
+++ b/config/defconfig_ppc_64-power8-linuxapp-gcc
@@ -36,7 +36,7 @@ CONFIG_RTE_ARCH="ppc_64"
 CONFIG_RTE_ARCH_PPC_64=y
 CONFIG_RTE_ARCH_64=y
 
-CONFIG_RTE_MAX_LCORE=256
+CONFIG_RTE_MAX_LCORE=1536
 CONFIG_RTE_MAX_NUMA_NODES=32
 CONFIG_RTE_CACHE_LINE_SIZE=128
 
diff --git a/config/ppc_64/meson.build b/config/ppc_64/meson.build
index 8c64445..0e65f9d 100644
--- a/config/ppc_64/meson.build
+++ b/config/ppc_64/meson.build
@@ -8,7 +8,7 @@ dpdk_conf.set('RTE_ARCH', 'ppc_64')
 dpdk_conf.set('RTE_ARCH_PPC_64', 1)
 
 # overrides specific to ppc64
-dpdk_conf.set('RTE_MAX_LCORE', 256)
+dpdk_conf.set('RTE_MAX_LCORE', 1536)
 dpdk_conf.set('RTE_MAX_NUMA_NODES', 32)
 dpdk_conf.set('RTE_CACHE_LINE_SIZE', 128)
 dpdk_conf.set('RTE_MACHINE_CPUFLAG_ALTIVEC', 1)
-- 
1.8.3.1


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

end of thread, other threads:[~2019-07-04 15:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-05 22:57 [dpdk-dev] [PATCH] config: update RTE_MAX_LCORE for ppc build David Wilder
2019-06-05 23:21 ` David Christensen
2019-07-04 15:56   ` Thomas Monjalon

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).