aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorRay Kinsella <mdr@ashroe.eu>2021-11-17 10:03:04 +0000
committerDamjan Marion <dmarion@me.com>2021-11-23 12:58:42 +0000
commit0a7551bef872363bd3a25129bdc91dbf2a3b1ee2 (patch)
treea4e9aecae1e83b3aaf1aa47b5aede70d05848f38 /src/plugins
parent2dc942e8735de7e4e6bb7212e2c006190d5dcc52 (diff)
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 <mdr@ashroe.eu> Change-Id: I7c4c435763a5dcb0c3b429cd4f361d373d480c03
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/geneve/geneve.h2
-rw-r--r--src/plugins/gtpu/gtpu.h2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/plugins/geneve/geneve.h b/src/plugins/geneve/geneve.h
index 0cc14214b9b..deb51abe126 100644
--- a/src/plugins/geneve/geneve.h
+++ b/src/plugins/geneve/geneve.h
@@ -187,9 +187,7 @@ typedef struct
u16 msg_id_base;
/* cache for last 8 geneve tunnel */
-#ifdef CLIB_HAVE_VEC512
vtep4_cache_t vtep4_u512;
-#endif
} geneve_main_t;
diff --git a/src/plugins/gtpu/gtpu.h b/src/plugins/gtpu/gtpu.h
index 59e340148fb..72d09232001 100644
--- a/src/plugins/gtpu/gtpu.h
+++ b/src/plugins/gtpu/gtpu.h
@@ -237,9 +237,7 @@ typedef struct
vnet_main_t *vnet_main;
u32 flow_id_start;
/* cache for last 8 gtpu tunnel */
-#ifdef CLIB_HAVE_VEC512
vtep4_cache_t vtep4_u512;
-#endif
} gtpu_main_t;