From 0a7551bef872363bd3a25129bdc91dbf2a3b1ee2 Mon Sep 17 00:00:00 2001 From: Ray Kinsella Date: Wed, 17 Nov 2021 10:03:04 +0000 Subject: vxlan: multiarch optimization of vxlan Fixing the mutliarch versions of vxlan, geneve and friends. Ensures that main struct is correctly sized for all multiarch permutations. Type: fix Fixes: 290526e3c Signed-off-by: Ray Kinsella Change-Id: I7c4c435763a5dcb0c3b429cd4f361d373d480c03 --- src/vnet/ip/vtep.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vnet/ip/vtep.h') diff --git a/src/vnet/ip/vtep.h b/src/vnet/ip/vtep.h index 92e8002e55a..8b2c7fe723f 100644 --- a/src/vnet/ip/vtep.h +++ b/src/vnet/ip/vtep.h @@ -111,13 +111,13 @@ vtep4_check (vtep_table_t * t, vlib_buffer_t * b0, ip4_header_t * ip40, return VTEP_CHECK_PASS; } -#ifdef CLIB_HAVE_VEC512 typedef struct { vtep4_key_t vtep4_cache[8]; int idx; } vtep4_cache_t; +#ifdef CLIB_HAVE_VEC512 always_inline u8 vtep4_check_vector (vtep_table_t * t, vlib_buffer_t * b0, ip4_header_t * ip40, vtep4_key_t * last_k4, vtep4_cache_t * vtep4_u512) -- cgit 1.2.3-korg