New upstream version 18.11
[deb_dpdk.git] / config / arm / meson.build
index 4b23b39..3f91725 100644 (file)
@@ -46,6 +46,7 @@ flags_common_default = [
 
 flags_generic = [
        ['RTE_MACHINE', '"armv8a"'],
+       ['RTE_MAX_LCORE', 256],
        ['RTE_CACHE_LINE_SIZE', 128]]
 flags_cavium = [
        ['RTE_MACHINE', '"thunderx"'],
@@ -89,6 +90,9 @@ if cc.sizeof('void *') != 8
        dpdk_conf.set('RTE_CACHE_LINE_SIZE', 64)
        dpdk_conf.set('RTE_ARCH_ARM', 1)
        dpdk_conf.set('RTE_ARCH_ARMv7', 1)
+       # the minimum architecture supported, armv7-a, needs the following,
+       # mk/machine/armv7a/rte.vars.mk sets it too
+       machine_args += '-mfpu=neon'
 else
        dpdk_conf.set('RTE_CACHE_LINE_SIZE', 128)
        dpdk_conf.set('RTE_ARCH_ARM64', 1)