16 #ifndef included_ip_vtep_h
17 #define included_ip_vtep_h
82 k4->as_u64 = ~((
u64) 0);
89 k6->fib_index = (
u32) ~ 0;
101 vtep4_key_t * last_k4)
110 last_k4->as_u64 = k4.as_u64;
114 #ifdef CLIB_HAVE_VEC512
117 vtep4_key_t vtep4_cache[8];
123 vtep4_key_t * last_k4, vtep4_cache_t * vtep4_u512)
132 u64x8 k4_u64x8 = u64x8_splat (k4.as_u64);
133 u64x8 cache = u64x8_load_unaligned (vtep4_u512->vtep4_cache);
134 u8 result = u64x8_is_equal_mask (cache, k4_u64x8);
145 vtep4_u512->vtep4_cache[vtep4_u512->idx].as_u64 = k4.as_u64;
146 vtep4_u512->idx = (vtep4_u512->idx + 1) & 0x7;
148 last_k4->as_u64 = k4.as_u64;
156 vtep6_key_t * last_k6)
161 && ip60->
dst_address.as_u64[0] == last_k6->addr.as_u64[0]
163 last_k6->addr.as_u64[1]))