From 2d725c61286ccb8625ffad5c678cee337f88bceb Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Mon, 13 Nov 2023 12:18:24 +0000 Subject: ena: Amazon Elastic Network Adapter (ENA) native driver Type: feature Change-Id: Icd9de05f2cbac0e5a6dfb1f1414f21dc4b893104 Signed-off-by: Damjan Marion --- src/vppinfra/vector_avx2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vppinfra') diff --git a/src/vppinfra/vector_avx2.h b/src/vppinfra/vector_avx2.h index ee3d5404f91..b832681632c 100644 --- a/src/vppinfra/vector_avx2.h +++ b/src/vppinfra/vector_avx2.h @@ -336,7 +336,7 @@ u32x8_scatter_one (u32x8 r, int index, void *p) } #define u32x8_gather_u32(base, indices, scale) \ - (u32x8) _mm256_i32gather_epi32 (base, (__m256i) indices, scale) + (u32x8) _mm256_i32gather_epi32 ((const int *) base, (__m256i) indices, scale) #ifdef __AVX512F__ #define u32x8_scatter_u32(base, indices, v, scale) \ -- cgit 1.2.3-korg