FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
cnat_bihash.h File Reference
+ Include dependency graph for cnat_bihash.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_40_56_t
 

Macros

#define BIHASH_TYPE   _40_56
 
#define BIHASH_KVP_PER_PAGE   2
 
#define BIHASH_KVP_AT_BUCKET_LEVEL   1
 
#define BIHASH_LAZY_INSTANTIATE   1
 
#define BIHASH_BUCKET_PREFETCH_CACHE_LINES   2
 
#define BIHASH_USE_HEAP   1
 
#define cnat_bihash_search_i2_hash   clib_bihash_search_inline_2_with_hash_40_56
 
#define cnat_bihash_search_i2   clib_bihash_search_inline_2_40_56
 
#define cnat_bihash_add_del   clib_bihash_add_del_40_56
 
#define cnat_bihash_hash   clib_bihash_hash_40_56
 
#define cnat_bihash_prefetch_bucket   clib_bihash_prefetch_bucket_40_56
 
#define cnat_bihash_prefetch_data   clib_bihash_prefetch_data_40_56
 

Typedefs

typedef clib_bihash_kv_40_56_t cnat_bihash_kv_t
 
typedef clib_bihash_40_56_t cnat_bihash_t
 

Functions

static int clib_bihash_is_free_40_56 (const clib_bihash_kv_40_56_t *v)
 
static u64 clib_bihash_hash_40_56 (const clib_bihash_kv_40_56_t *v)
 
static u8format_bihash_kvp_40_56 (u8 *s, va_list *args)
 
static int clib_bihash_key_compare_40_56 (u64 *a, u64 *b)
 

Macro Definition Documentation

◆ BIHASH_BUCKET_PREFETCH_CACHE_LINES

#define BIHASH_BUCKET_PREFETCH_CACHE_LINES   2

Definition at line 29 of file cnat_bihash.h.

◆ BIHASH_KVP_AT_BUCKET_LEVEL

#define BIHASH_KVP_AT_BUCKET_LEVEL   1

Definition at line 27 of file cnat_bihash.h.

◆ BIHASH_KVP_PER_PAGE

#define BIHASH_KVP_PER_PAGE   2

Definition at line 26 of file cnat_bihash.h.

◆ BIHASH_LAZY_INSTANTIATE

#define BIHASH_LAZY_INSTANTIATE   1

Definition at line 28 of file cnat_bihash.h.

◆ BIHASH_TYPE

#define BIHASH_TYPE   _40_56

Definition at line 25 of file cnat_bihash.h.

◆ BIHASH_USE_HEAP

#define BIHASH_USE_HEAP   1

Definition at line 30 of file cnat_bihash.h.

◆ cnat_bihash_add_del

#define cnat_bihash_add_del   clib_bihash_add_del_40_56

Definition at line 111 of file cnat_bihash.h.

◆ cnat_bihash_hash

#define cnat_bihash_hash   clib_bihash_hash_40_56

Definition at line 112 of file cnat_bihash.h.

◆ cnat_bihash_prefetch_bucket

#define cnat_bihash_prefetch_bucket   clib_bihash_prefetch_bucket_40_56

Definition at line 113 of file cnat_bihash.h.

◆ cnat_bihash_prefetch_data

#define cnat_bihash_prefetch_data   clib_bihash_prefetch_data_40_56

Definition at line 114 of file cnat_bihash.h.

◆ cnat_bihash_search_i2

#define cnat_bihash_search_i2   clib_bihash_search_inline_2_40_56

Definition at line 110 of file cnat_bihash.h.

◆ cnat_bihash_search_i2_hash

#define cnat_bihash_search_i2_hash   clib_bihash_search_inline_2_with_hash_40_56

Definition at line 109 of file cnat_bihash.h.

Typedef Documentation

◆ cnat_bihash_kv_t

Definition at line 106 of file cnat_bihash.h.

◆ cnat_bihash_t

typedef clib_bihash_40_56_t cnat_bihash_t

Definition at line 107 of file cnat_bihash.h.

Function Documentation

◆ clib_bihash_hash_40_56()

static u64 clib_bihash_hash_40_56 ( const clib_bihash_kv_40_56_t v)
inlinestatic

Definition at line 57 of file cnat_bihash.h.

+ Here is the call graph for this function:

◆ clib_bihash_is_free_40_56()

static int clib_bihash_is_free_40_56 ( const clib_bihash_kv_40_56_t v)
inlinestatic

Definition at line 48 of file cnat_bihash.h.

◆ clib_bihash_key_compare_40_56()

static int clib_bihash_key_compare_40_56 ( u64 a,
u64 b 
)
inlinestatic

Definition at line 82 of file cnat_bihash.h.

◆ format_bihash_kvp_40_56()

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

Definition at line 68 of file cnat_bihash.h.