[PATCH] drivers: fix build warnings when using icx
Bruce Richardson
bruce.richardson at intel.com
Tue Feb 11 17:04:50 CET 2025
On Mon, Feb 10, 2025 at 05:19:57PM +0000, Bruce Richardson wrote:
> The Intel oneAPI DPC++/C++ Compiler (icx), issues warnings on build when
> the "-march=native", or other configured global "-march" flag, is
> overridden to "skylake-avx512", when compiling AVX-512 code.
>
> Allow building with icx with warnings-as-errors flag (werror) enabled by
> disabling the warning for the cases where we pass that extra "-march"
> flag.
>
> Fixes: e6a6a138919f ("net/i40e: add AVX512 vector path")
> Fixes: 31737f2b66fb ("net/iavf: enable AVX512 for legacy Rx")
> Fixes: 7f85d5ebcfe1 ("net/ice: add AVX512 vector path")
> Fixes: 0fac6a1c44d5 ("common/idpf: add AVX512 for single queue model")
> Cc: stable at dpdk.org
>
> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> Acked-by: Ian Stokes <ian.stokes at intel.com>
> ---
Rebased and applied to dpdk-next-net-intel with new prefix "net/intel"
since "common/idpf" has been merged into "net/idpf".
/Bruce
More information about the stable
mailing list