FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
bihash_16_8.h File Reference
+ Include dependency graph for bihash_16_8.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  clib_bihash_kv_16_8_t
 

Macros

#define BIHASH_TYPE   _16_8
 
#define BIHASH_KVP_PER_PAGE   4
 
#define BIHASH_KVP_AT_BUCKET_LEVEL   1
 
#define BIHASH_LAZY_INSTANTIATE   0
 
#define BIHASH_BUCKET_PREFETCH_CACHE_LINES   2
 
#define BIHASH_USE_HEAP   1
 

Functions

static int clib_bihash_is_free_16_8 (clib_bihash_kv_16_8_t *v)
 
static u64 clib_bihash_hash_16_8 (clib_bihash_kv_16_8_t *v)
 
static u8format_bihash_kvp_16_8 (u8 *s, va_list *args)
 
static int clib_bihash_key_compare_16_8 (u64 *a, u64 *b)
 

Macro Definition Documentation

◆ BIHASH_BUCKET_PREFETCH_CACHE_LINES

#define BIHASH_BUCKET_PREFETCH_CACHE_LINES   2

Definition at line 28 of file bihash_16_8.h.

◆ BIHASH_KVP_AT_BUCKET_LEVEL

#define BIHASH_KVP_AT_BUCKET_LEVEL   1

Definition at line 26 of file bihash_16_8.h.

◆ BIHASH_KVP_PER_PAGE

#define BIHASH_KVP_PER_PAGE   4

Definition at line 25 of file bihash_16_8.h.

◆ BIHASH_LAZY_INSTANTIATE

#define BIHASH_LAZY_INSTANTIATE   0

Definition at line 27 of file bihash_16_8.h.

◆ BIHASH_TYPE

#define BIHASH_TYPE   _16_8

Definition at line 24 of file bihash_16_8.h.

◆ BIHASH_USE_HEAP

#define BIHASH_USE_HEAP   1

Definition at line 29 of file bihash_16_8.h.

Function Documentation

◆ clib_bihash_hash_16_8()

static u64 clib_bihash_hash_16_8 ( clib_bihash_kv_16_8_t v)
inlinestatic

Definition at line 56 of file bihash_16_8.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ clib_bihash_is_free_16_8()

static int clib_bihash_is_free_16_8 ( clib_bihash_kv_16_8_t v)
inlinestatic

Definition at line 47 of file bihash_16_8.h.

+ Here is the caller graph for this function:

◆ clib_bihash_key_compare_16_8()

static int clib_bihash_key_compare_16_8 ( u64 a,
u64 b 
)
inlinestatic

Definition at line 76 of file bihash_16_8.h.

◆ format_bihash_kvp_16_8()

static u8* format_bihash_kvp_16_8 ( u8 s,
va_list *  args 
)
inlinestatic

Definition at line 67 of file bihash_16_8.h.