net/i40e: fix build error on windows
Checks
Commit Message
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
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.
@@ -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"