From 4eea7c646182b2885f18caf5e3bfb13515a676fa Mon Sep 17 00:00:00 2001 From: Rahul Bhansali Date: Thu, 19 May 2022 18:58:29 +0530 Subject: [PATCH] config/arm: add SVE ACLE control flag MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit An additional check of control flag sve_acle for RTE_HAS_SVE_ACLE macro to be part of the build. If any SoC config doesn't have sve_acle flag parameter then default it will be considered as true. Signed-off-by: Rahul Bhansali Reviewed-by: Chengwen Feng Reviewed-by: Juraj Linkeš Acked-by: Ruifeng Wang --- config/arm/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/arm/meson.build b/config/arm/meson.build index d7fbcaf295..06f4b54197 100644 --- a/config/arm/meson.build +++ b/config/arm/meson.build @@ -613,7 +613,7 @@ endif if cc.get_define('__ARM_FEATURE_SVE', args: machine_args) != '' compile_time_cpuflags += ['RTE_CPUFLAG_SVE'] - if (cc.check_header('arm_sve.h')) + if (cc.check_header('arm_sve.h') and soc_config.get('sve_acle', true)) dpdk_conf.set('RTE_HAS_SVE_ACLE', 1) endif endif -- 2.39.5