net/mlx5: add Altivec Rx
[dpdk.git] / drivers / net / mlx5 / meson.build
index 142240a..02494cf 100644 (file)
@@ -59,14 +59,15 @@ if build
                'mlx5_vlan.c',
                'mlx5_devx_cmds.c',
        )
-       if dpdk_conf.has('RTE_ARCH_X86_64') or dpdk_conf.has('RTE_ARCH_ARM64')
+       if (dpdk_conf.has('RTE_ARCH_X86_64')
+               or dpdk_conf.has('RTE_ARCH_ARM64')
+               or dpdk_conf.has('RTE_ARCH_PPC_64'))
                sources += files('mlx5_rxtx_vec.c')
        endif
        if not pmd_dlopen
                sources += files('mlx5_glue.c')
        endif
        cflags_options = [
-               '-Wextra',
                '-std=c11',
                '-Wno-strict-prototypes',
                '-D_BSD_SOURCE',