[dpdk-dev] [PATCH] config/arm: add checking SVE cpuflag

Thomas Monjalon thomas at monjalon.net
Wed Jun 23 09:29:30 CEST 2021


> > If compiled with SVE feature (e.g. "-march=armv8.2-a+sve'), the binary could
> > not run on non-SVE platform else it will encounter illegal instruction [1].
> > 
> > This patch fixes it by add 'RTE_CPUFLAG_SVE' to compile_time_cpuflags, so
> > that rte_cpu_is_supported() will print meaningful log under above situation.
> > 
> > [1] http://mails.dpdk.org/archives/dev/2021-May/209124.html
> > 
> > Signed-off-by: Chengwen Feng <fengchengwen at huawei.com>
> 
> Thanks for the patch.
> Acked-by: Ruifeng Wang <ruifeng.wang at arm.com>

Applied, thanks.




More information about the dev mailing list