config: update for ppc build with meson

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

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/intel-Performance-Testing success Performance Testing PASS
ci/mellanox-Performance-Testing success Performance Testing PASS
ci/Intel-compilation success Compilation OK

Commit Message

David Wilder June 5, 2019, 10:55 p.m. UTC
  Adding defines for missing RTE_MACHINE_CPUFLAGs.

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 first patch.

 config/ppc_64/meson.build | 2 ++
 1 file changed, 2 insertions(+)
  

Comments

David Christensen June 5, 2019, 11:22 p.m. UTC | #1
> Adding defines for missing RTE_MACHINE_CPUFLAGs.
> 
> 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 first patch.

Acked-by: David Christensen <drc@linux.vnet.ibm.com>
  
Thomas Monjalon July 4, 2019, 3:38 p.m. UTC | #2
06/06/2019 01:22, David Christensen:
> > Adding defines for missing RTE_MACHINE_CPUFLAGs.
> > 
> > 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 first patch.
> 
> Acked-by: David Christensen <drc@linux.vnet.ibm.com>

Applied, thanks
  

Patch

diff --git a/config/ppc_64/meson.build b/config/ppc_64/meson.build
index 7ceae1d..8c64445 100644
--- a/config/ppc_64/meson.build
+++ b/config/ppc_64/meson.build
@@ -11,3 +11,5 @@  dpdk_conf.set('RTE_ARCH_PPC_64', 1)
 dpdk_conf.set('RTE_MAX_LCORE', 256)
 dpdk_conf.set('RTE_MAX_NUMA_NODES', 32)
 dpdk_conf.set('RTE_CACHE_LINE_SIZE', 128)
+dpdk_conf.set('RTE_MACHINE_CPUFLAG_ALTIVEC', 1)
+dpdk_conf.set('RTE_MACHINE_CPUFLAG_VSX', 1)