-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/intel: fix build warnings when using icx
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: e6a6a13 ("net/i40e: add AVX512 vector path") Fixes: 31737f2 ("net/iavf: enable AVX512 for legacy Rx") Fixes: 7f85d5e ("net/ice: add AVX512 vector path") Fixes: 0fac6a1 ("common/idpf: add AVX512 for single queue model") Cc: [email protected] Signed-off-by: Bruce Richardson <[email protected]> Acked-by: Ian Stokes <[email protected]>
- Loading branch information
1 parent
47be8c2
commit 7c50199
Showing
4 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters