FD.io VPP  v19.08.1-401-g8e4ed521a
Vector Packet Processing
cuckoo_common.h File Reference
+ Include dependency graph for cuckoo_common.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  clib_cuckoo_lookup_info_t
 

Macros

#define CLIB_CUCKOO_OPTIMIZE_PREFETCH   1
 
#define CLIB_CUCKOO_OPTIMIZE_CMP_REDUCED_HASH   1
 
#define CLIB_CUCKOO_OPTIMIZE_UNROLL   1
 
#define CLIB_CUCKOO_OPTIMIZE_USE_COUNT_LIMITS_SEARCH   1
 
#define foreach_clib_cuckoo_error(F)
 
#define F(n, v, s)   n = v,
 

Enumerations

enum  clib_cuckoo_error_e { foreach_clib_cuckoo_error =(F) }
 

Macro Definition Documentation

◆ CLIB_CUCKOO_OPTIMIZE_CMP_REDUCED_HASH

#define CLIB_CUCKOO_OPTIMIZE_CMP_REDUCED_HASH   1

Definition at line 27 of file cuckoo_common.h.

◆ CLIB_CUCKOO_OPTIMIZE_PREFETCH

#define CLIB_CUCKOO_OPTIMIZE_PREFETCH   1

Definition at line 26 of file cuckoo_common.h.

◆ CLIB_CUCKOO_OPTIMIZE_UNROLL

#define CLIB_CUCKOO_OPTIMIZE_UNROLL   1

Definition at line 28 of file cuckoo_common.h.

◆ CLIB_CUCKOO_OPTIMIZE_USE_COUNT_LIMITS_SEARCH

#define CLIB_CUCKOO_OPTIMIZE_USE_COUNT_LIMITS_SEARCH   1

Definition at line 29 of file cuckoo_common.h.

◆ F

#define F (   n,
  v,
 
)    n = v,

Definition at line 38 of file cuckoo_common.h.

◆ foreach_clib_cuckoo_error

#define foreach_clib_cuckoo_error (   F)
Value:
F (CLIB_CUCKOO_ERROR_SUCCESS, 0, "success") \
F (CLIB_CUCKOO_ERROR_NOT_FOUND, -1, "object not found") \
F (CLIB_CUCKOO_ERROR_AGAIN, -2, "object busy")
#define F(n, v, s)
Definition: cuckoo_common.h:38

Definition at line 31 of file cuckoo_common.h.

Enumeration Type Documentation

◆ clib_cuckoo_error_e

Enumerator
foreach_clib_cuckoo_error 

Definition at line 36 of file cuckoo_common.h.