FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | svm_fifo_chunk_ |
struct | ooo_segment_t |
struct | svm_fifo_trace_elem_t |
struct | svm_fifo_shr_ |
struct | fifo_segment_slice_ |
struct | fifo_slice_private_ |
struct | fifo_segment_header_ |
Macros | |
#define | FS_MIN_LOG2_CHUNK_SZ 12 |
also min fifo size More... | |
#define | FS_MAX_LOG2_CHUNK_SZ 22 |
4MB max chunk size More... | |
#define | FS_CHUNK_VEC_LEN 11 |
number of chunk sizes More... | |
#define | SVM_FIFO_TRACE (0) |
#define | SVM_FIFO_MAX_EVT_SUBSCRIBERS 7 |
Typedefs | |
typedef struct fifo_segment_header_ | fifo_segment_header_t |
typedef uword | fs_sptr_t |
typedef struct svm_fifo_chunk_ | svm_fifo_chunk_t |
typedef struct svm_fifo_shr_ | svm_fifo_shared_t |
typedef struct _svm_fifo | svm_fifo_t |
typedef struct fifo_segment_slice_ | fifo_segment_slice_t |
typedef struct fifo_slice_private_ | fifo_slice_private_t |
Functions | |
STATIC_ASSERT ((FS_MAX_LOG2_CHUNK_SZ - FS_MIN_LOG2_CHUNK_SZ)==FS_CHUNK_VEC_LEN - 1, "update chunk sizes") | |
void | fsh_virtual_mem_update (fifo_segment_header_t *fsh, u32 slice_index, int n_bytes) |
static void * | fs_ptr (fifo_segment_header_t *fsh, fs_sptr_t sp) |
static fs_sptr_t | fs_sptr (fifo_segment_header_t *fsh, void *p) |
static svm_fifo_chunk_t * | fs_chunk_ptr (fifo_segment_header_t *fsh, fs_sptr_t cp) |
static fs_sptr_t | fs_chunk_sptr (fifo_segment_header_t *fsh, svm_fifo_chunk_t *c) |
#define FS_CHUNK_VEC_LEN 11 |
number of chunk sizes
Definition at line 26 of file fifo_types.h.
#define FS_MAX_LOG2_CHUNK_SZ 22 |
4MB max chunk size
Definition at line 25 of file fifo_types.h.
#define FS_MIN_LOG2_CHUNK_SZ 12 |
also min fifo size
Definition at line 24 of file fifo_types.h.
#define SVM_FIFO_MAX_EVT_SUBSCRIBERS 7 |
Definition at line 33 of file fifo_types.h.
#define SVM_FIFO_TRACE (0) |
Definition at line 32 of file fifo_types.h.
typedef struct fifo_segment_header_ fifo_segment_header_t |
Definition at line 35 of file fifo_types.h.
typedef struct fifo_segment_slice_ fifo_segment_slice_t |
typedef struct fifo_slice_private_ fifo_slice_private_t |
Definition at line 36 of file fifo_types.h.
typedef struct svm_fifo_chunk_ svm_fifo_chunk_t |
typedef struct svm_fifo_shr_ svm_fifo_shared_t |
typedef struct _svm_fifo svm_fifo_t |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
void fsh_virtual_mem_update | ( | fifo_segment_header_t * | fsh, |
u32 | slice_index, | ||
int | n_bytes | ||
) |
Definition at line 123 of file fifo_segment.c.
STATIC_ASSERT | ( | (FS_MAX_LOG2_CHUNK_SZ - FS_MIN_LOG2_CHUNK_SZ) | = =FS_CHUNK_VEC_LEN - 1 , |
"update chunk sizes" | |||
) |