config: update RTE_MAX_LCORE for ppc build

Message ID 20190605225745.17100-1-dwilder@us.ibm.com (mailing list archive)
State Accepted, archived
Delegated to: Thomas Monjalon
Headers
Series config: update RTE_MAX_LCORE for ppc build |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation fail apply issues

Commit Message

David Wilder June 5, 2019, 10:57 p.m. UTC
  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(-)
  

Comments

David Christensen June 5, 2019, 11:21 p.m. UTC | #1
> 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.

Acked-by: David Christensen <drc@linux.vnet.ibm.com>
  
Thomas Monjalon July 4, 2019, 3:56 p.m. UTC | #2
06/06/2019 01:21, David Christensen:
> > 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.
> 
> Acked-by: David Christensen <drc@linux.vnet.ibm.com>

Applied, thanks
  

Patch

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)