net/i40e: fix build error on windows

Message ID 20210118132246.60208-1-leyi.rong@intel.com (mailing list archive)
State Accepted, archived
Delegated to: Ferruh Yigit
Headers
Series net/i40e: fix build error on windows |

Checks

Context Check Description
ci/checkpatch warning coding style issues
ci/Intel-compilation fail apply issues

Commit Message

Leyi Rong Jan. 18, 2021, 1:22 p.m. UTC
  This patch should squashed into commit ea6ecf3f to fix
the build error on windows.

Fixes: ea6ecf3f21b0 ("net/i40e: add AVX512 vector path")

Signed-off-by: Leyi Rong <leyi.rong@intel.com>
---
 drivers/net/i40e/i40e_rxtx_vec_avx512.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Ferruh Yigit Jan. 18, 2021, 4:37 p.m. UTC | #1
On 1/18/2021 1:22 PM, Leyi Rong wrote:
> This patch should squashed into commit ea6ecf3f to fix
> the build error on windows.
> 
> Fixes: ea6ecf3f21b0 ("net/i40e: add AVX512 vector path")
> 
> Signed-off-by: Leyi Rong <leyi.rong@intel.com>


Squashed into relevant commit in next-net, thanks.
  

Patch

diff --git a/drivers/net/i40e/i40e_rxtx_vec_avx512.c b/drivers/net/i40e/i40e_rxtx_vec_avx512.c
index 43e939c605..e92f97b7ed 100644
--- a/drivers/net/i40e/i40e_rxtx_vec_avx512.c
+++ b/drivers/net/i40e/i40e_rxtx_vec_avx512.c
@@ -12,7 +12,7 @@ 
 #include "i40e_rxtx.h"
 #include "i40e_rxtx_vec_common.h"
 
-#include <x86intrin.h>
+#include <rte_vect.h>
 
 #ifndef __INTEL_COMPILER
 #pragma GCC diagnostic ignored "-Wcast-qual"