From 592a13c9e6739b07e6657def5df5cd1e7abe2423 Mon Sep 17 00:00:00 2001 From: Gavin Hu Date: Tue, 11 Dec 2018 11:55:50 +0800 Subject: [PATCH] config: enable C11 memory model for armv8 with meson This patch makes the configuration based on makefile and the configuration based on meson to be the same. Fixes: c6e536e38437 ("build: add more implementers IDs and PNs for ARM") Cc: stable@dpdk.org Signed-off-by: Gavin Hu Reviewed-by: Ruifeng Wang Reviewed-by: Honnappa Nagarahalli Acked-by: Bruce Richardson --- config/arm/meson.build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/arm/meson.build b/config/arm/meson.build index 3f917250da..dae55d6b26 100644 --- a/config/arm/meson.build +++ b/config/arm/meson.build @@ -47,6 +47,7 @@ flags_common_default = [ flags_generic = [ ['RTE_MACHINE', '"armv8a"'], ['RTE_MAX_LCORE', 256], + ['RTE_USE_C11_MEM_MODEL', true], ['RTE_CACHE_LINE_SIZE', 128]] flags_cavium = [ ['RTE_MACHINE', '"thunderx"'], @@ -57,11 +58,13 @@ flags_cavium = [ ['RTE_USE_C11_MEM_MODEL', false]] flags_dpaa = [ ['RTE_MACHINE', '"dpaa"'], + ['RTE_USE_C11_MEM_MODEL', true], ['RTE_CACHE_LINE_SIZE', 64], ['RTE_MAX_NUMA_NODES', 1], ['RTE_MAX_LCORE', 16]] flags_dpaa2 = [ ['RTE_MACHINE', '"dpaa2"'], + ['RTE_USE_C11_MEM_MODEL', true], ['RTE_CACHE_LINE_SIZE', 64], ['RTE_MAX_NUMA_NODES', 1], ['RTE_MAX_LCORE', 16], -- 2.20.1