Hi Bruce,
I think it would be better to restrict compilation of the vectorised paths to
AArch64 only.
So, rather than modifying the intrinsics as I proposed earlier, I added an
extra check in the meson build configuration file, as shown in the following
code snippet.
Could you please help verify the patch again? I also did a sanity check by
cross building DPDK for AArch32 on my local AArch64 machine, and the file was
not compiled, so no build errors were reported.
Sorry for duplicating the previous patches on the website. I've marked them as
superseded.
Thanks,
Jay Wang
> diff --git a/drivers/net/intel/ice/meson.build
> b/drivers/net/intel/ice/meson.build
> index 293577676f..a205304c89 100644
> --- a/drivers/net/intel/ice/meson.build
> +++ b/drivers/net/intel/ice/meson.build
> @@ -33,6 +33,8 @@ endif
> if arch_subdir == 'x86'
> sources_avx2 += files('ice_rxtx_vec_avx2.c')
> sources_avx512 += files('ice_rxtx_vec_avx512.c')
> +elif arch_subdir == 'arm' and dpdk_conf.get('RTE_ARCH_64')
> + sources += files('ice_rxtx_vec_neon.c')
> endif