Skip to contentSkip to conversation

net/i40e: fix build error on windows

PATCH In review Leyi Rong 2 participants 2 messages Jan 18, 2021 Network drivers

lore
Share & tools
lore

Leyi Rong

author
#0 lore raw

PATCH 1/1 net/i40e: fix build error on windows

This patch should squashed into commit ea6ecf3f to fix the build error on windows.

Fixes ea6ecf3f21b0 ("net/i40e: add AVX512 vector path")
---
 drivers/net/i40e/i40e_rxtx_vec_avx512.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/i40e/i40e_rxtx_vec_avx512.c +1 -1
index 43e939c605..e92f97b7ed 100644
@@ -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"
Signature · 1 line
2.17.1
#1 lore raw
Quoted 6 lines · Leyi Rong

This patch should squashed into commit ea6ecf3f to fix the build error on windows.

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

Squashed into relevant commit in next-net, thanks.