|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
16 #undef BIHASH_KVP_PER_PAGE
17 #undef BIHASH_32_64_SVM
18 #undef BIHASH_ENABLE_STATS
19 #undef BIHASH_KVP_AT_BUCKET_LEVEL
20 #undef BIHASH_LAZY_INSTANTIATE
21 #undef BIHASH_BUCKET_PREFETCH_CACHE_LINES
22 #undef BIHASH_USE_HEAP
24 #define BIHASH_TYPE _8_16
25 #define BIHASH_KVP_PER_PAGE 7
26 #define BIHASH_KVP_AT_BUCKET_LEVEL 1
27 #define BIHASH_LAZY_INSTANTIATE 0
28 #define BIHASH_BUCKET_PREFETCH_CACHE_LINES 2
29 #define BIHASH_USE_HEAP 1
31 #ifndef __included_bihash_8_16_h__
32 #define __included_bihash_8_16_h__
53 if (v->
key == ~0ULL && v->
value[0] == ~0ULL && v->
value[1] == ~0ULL)
65 #ifdef clib_crc32c_uses_intrinsics
66 return clib_crc32c ((
u8 *) & v->
key, 8);
98 #undef __included_bihash_template_h__
static u64 clib_bihash_hash_8_16(clib_bihash_kv_8_16_t *v)
Hash a clib_bihash_kv_8_16_t instance.
Fixed length block allocator. Pools are built from clib vectors and bitmaps. Use pools when repeatedl...
static u64 clib_xxhash(u64 key)
static int clib_bihash_is_free_8_16(clib_bihash_kv_8_16_t *v)
Decide if a clib_bihash_kv_8_16_t instance is free.
8 octet key, 8 octet key value pair
description fragment has unexpected format
static u8 * format_bihash_kvp_8_16(u8 *s, va_list *args)
Format a clib_bihash_kv_8_16_t instance.
static int clib_bihash_key_compare_8_16(u64 a, u64 b)
Compare two clib_bihash_kv_8_16_t instances.