diff options
author | Junfeng Wang <Drenfong.Wang@intel.com> | 2021-03-09 16:44:57 +0800 |
---|---|---|
committer | John Lo <lojultra2020@outlook.com> | 2021-03-19 21:34:16 +0000 |
commit | 290526e3c72888ac05928ed0a6dddee02f7df650 (patch) | |
tree | 5117191488c7107d6404abaaca97d76022e7e759 /src/vnet/vxlan/vxlan.h | |
parent | 162b70d50aaf5daa744417818c01cae573580f6f (diff) |
vxlan: add tunnel cache to graph node
Type: improvement
Signed-off-by: Drenfong Wong <drenfong.wang@intel.com>
Change-Id: Ia81aaa86fe071cbbed028cc85c5f3fa0f1940a0f
Diffstat (limited to 'src/vnet/vxlan/vxlan.h')
-rw-r--r-- | src/vnet/vxlan/vxlan.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vnet/vxlan/vxlan.h b/src/vnet/vxlan/vxlan.h index 48c61461e7c..129bb43291b 100644 --- a/src/vnet/vxlan/vxlan.h +++ b/src/vnet/vxlan/vxlan.h @@ -189,6 +189,12 @@ typedef struct /* Record used instances */ uword *instance_used; u32 flow_id_start; + + /* cache for last 8 vxlan tunnel */ +#ifdef CLIB_HAVE_VEC512 + vtep4_cache_t vtep4_u512; +#endif + } vxlan_main_t; extern vxlan_main_t vxlan_main; |