FD.io VPP  v16.06
Vector Packet Processing
cnat_bulk_port_defs.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CACHE_ALLOC_NO_LOG_REQUIRED   -1
 
#define BULK_ALLOC_NOT_ATTEMPTED   -2
 
#define BULK_RANGE_INVALID   0xFFFF
 
#define BULK_RANGE_CACHE_SIZE   4
 
#define BULKSIZE_FROM_VRFMAP(vrfmap)   ((vrfmap)->bulk_size)
 
#define INIT_BULK_CACHE(udb)
 

Enumerations

enum  bulk_alloc_size_t {
  BULK_ALLOC_SIZE_NONE = 1, BULK_ALLOC_SIZE_16 = 16, BULK_ALLOC_SIZE_32 = 32, BULK_ALLOC_SIZE_64 = 64,
  BULK_ALLOC_SIZE_128 = 128, BULK_ALLOC_SIZE_256 = 256, BULK_ALLOC_SIZE_512 = 512, BULK_ALLOC_SIZE_1024 = 1024,
  BULK_ALLOC_SIZE_2048 = 2048, BULK_ALLOC_SIZE_4096 = 4096
}
 

Macro Definition Documentation

#define BULK_ALLOC_NOT_ATTEMPTED   -2

Definition at line 42 of file cnat_bulk_port_defs.h.

#define BULK_RANGE_CACHE_SIZE   4

Definition at line 45 of file cnat_bulk_port_defs.h.

#define BULK_RANGE_INVALID   0xFFFF

Definition at line 44 of file cnat_bulk_port_defs.h.

#define BULKSIZE_FROM_VRFMAP (   vrfmap)    ((vrfmap)->bulk_size)

Definition at line 47 of file cnat_bulk_port_defs.h.

#define CACHE_ALLOC_NO_LOG_REQUIRED   -1

Definition at line 41 of file cnat_bulk_port_defs.h.

#define INIT_BULK_CACHE (   udb)
Value:
{ \
int i; \
for(i =0; i < BULK_RANGE_CACHE_SIZE; i++) \
(udb)->bulk_port_range_cache[i] = (i16)BULK_RANGE_INVALID; \
}
sll srl srl sll sra u16x4 i
Definition: vector_sse2.h:267
#define BULK_RANGE_CACHE_SIZE
#define BULK_RANGE_INVALID
short i16
Definition: types.h:46

Definition at line 49 of file cnat_bulk_port_defs.h.

Enumeration Type Documentation

Enumerator
BULK_ALLOC_SIZE_NONE 
BULK_ALLOC_SIZE_16 
BULK_ALLOC_SIZE_32 
BULK_ALLOC_SIZE_64 
BULK_ALLOC_SIZE_128 
BULK_ALLOC_SIZE_256 
BULK_ALLOC_SIZE_512 
BULK_ALLOC_SIZE_1024 
BULK_ALLOC_SIZE_2048 
BULK_ALLOC_SIZE_4096 

Definition at line 26 of file cnat_bulk_port_defs.h.