![]() |
FD.io VPP
v18.10-32-g1161dda
Vector Packet Processing
|
Include dependency graph for svm_fifo.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | ooo_segment_t |
| Out-of-order segment. More... | |
| struct | svm_fifo_trace_elem_t |
| struct | svm_fifo_segment_ |
Macros | |
| #define | SVM_FIFO_TRACE (0) |
| #define | OOO_SEGMENT_INVALID_INDEX ((u32)~0) |
| #define | SVM_FIFO_INVALID_SESSION_INDEX ((u32)~0) |
| #define | svm_fifo_trace_add(_f, _s, _l, _t) |
Typedefs | |
| typedef struct _svm_fifo | svm_fifo_t |
| typedef struct svm_fifo_segment_ | svm_fifo_segment_t |
Enumerations | |
| enum | svm_fifo_err_t { SVM_FIFO_FULL = -2 } |
Variables | |
| format_function_t | format_ooo_segment |
| format_function_t | format_ooo_list |
| format_function_t | format_svm_fifo |
| #define OOO_SEGMENT_INVALID_INDEX ((u32)~0) |
Definition at line 40 of file svm_fifo.h.
| #define SVM_FIFO_INVALID_SESSION_INDEX ((u32)~0) |
Definition at line 41 of file svm_fifo.h.
| #define SVM_FIFO_TRACE (0) |
Definition at line 39 of file svm_fifo.h.
| #define svm_fifo_trace_add | ( | _f, | |
| _s, | |||
| _l, | |||
| _t | |||
| ) |
Definition at line 107 of file svm_fifo.h.
| typedef struct svm_fifo_segment_ svm_fifo_segment_t |
| typedef struct _svm_fifo svm_fifo_t |
| enum svm_fifo_err_t |
| Enumerator | |
|---|---|
| SVM_FIFO_FULL | |
Definition at line 86 of file svm_fifo.h.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 282 of file svm_fifo.h.
Here is the call graph for this function:
Here is the caller graph for this function:| svm_fifo_t* svm_fifo_create | ( | u32 | data_size_in_bytes | ) |
create an svm fifo, in the current heap.
Fails vs blow up the process
Definition at line 200 of file svm_fifo.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int svm_fifo_dequeue_drop | ( | svm_fifo_t * | f, |
| u32 | max_bytes | ||
| ) |
Definition at line 726 of file svm_fifo.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void svm_fifo_dequeue_drop_all | ( | svm_fifo_t * | f | ) |
| int svm_fifo_dequeue_nowait | ( | svm_fifo_t * | f, |
| u32 | max_bytes, | ||
| u8 * | copy_here | ||
| ) |
Definition at line 670 of file svm_fifo.c.
Here is the call graph for this function:
Here is the caller graph for this function:| u8* svm_fifo_dump_trace | ( | u8 * | s, |
| svm_fifo_t * | f | ||
| ) |
Definition at line 68 of file svm_fifo.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Advance tail pointer.
Useful for moving tail pointer after external enqueue.
Definition at line 246 of file svm_fifo.h.
Here is the call graph for this function:
Here is the caller graph for this function:| int svm_fifo_enqueue_nowait | ( | svm_fifo_t * | f, |
| u32 | max_bytes, | ||
| const u8 * | copy_from_here | ||
| ) |
Definition at line 523 of file svm_fifo.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int svm_fifo_enqueue_with_offset | ( | svm_fifo_t * | f, |
| u32 | offset, | ||
| u32 | required_bytes, | ||
| u8 * | copy_from_here | ||
| ) |
Definition at line 590 of file svm_fifo.c.
Here is the call graph for this function:
Here is the caller graph for this function:| ooo_segment_t* svm_fifo_first_ooo_segment | ( | svm_fifo_t * | f | ) |
| void svm_fifo_free | ( | svm_fifo_t * | f | ) |
Definition at line 221 of file svm_fifo.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
| void svm_fifo_init_pointers | ( | svm_fifo_t * | f, |
| u32 | pointer | ||
| ) |
Set fifo pointers to requested offset.
Definition at line 835 of file svm_fifo.c.
Here is the caller graph for this function:
|
inlinestatic |
|
inlinestatic |
Definition at line 120 of file svm_fifo.h.
|
inlinestatic |
|
inlinestatic |
Definition at line 132 of file svm_fifo.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Max contiguous chunk of data that can be read.
Definition at line 226 of file svm_fifo.h.
Here is the caller graph for this function:
|
inlinestatic |
Max contiguous chunk of data that can be written.
Definition at line 235 of file svm_fifo.h.
Here is the caller graph for this function:
|
inlinestatic |
|
inlinestatic |
| u32 svm_fifo_number_ooo_segments | ( | svm_fifo_t * | f | ) |
Definition at line 820 of file svm_fifo.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void svm_fifo_overwrite_head | ( | svm_fifo_t * | f, |
| u8 * | data, | ||
| u32 | len | ||
| ) |
| int svm_fifo_peek | ( | svm_fifo_t * | f, |
| u32 | offset, | ||
| u32 | max_bytes, | ||
| u8 * | copy_here | ||
| ) |
Definition at line 718 of file svm_fifo.c.
Here is the call graph for this function:
Here is the caller graph for this function:| u8* svm_fifo_replay | ( | u8 * | s, |
| svm_fifo_t * | f, | ||
| u8 | no_read, | ||
| u8 | verbose | ||
| ) |
Definition at line 92 of file svm_fifo.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int svm_fifo_segments | ( | svm_fifo_t * | f, |
| svm_fifo_segment_t * | fs | ||
| ) |
Definition at line 773 of file svm_fifo.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void svm_fifo_segments_free | ( | svm_fifo_t * | f, |
| svm_fifo_segment_t * | fs | ||
| ) |
|
inlinestatic |
Sets fifo event flag.
Also acts as a release barrier.
Definition at line 157 of file svm_fifo.h.
Here is the caller graph for this function:
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Unsets fifo event flag.
Also acts as a release barrier.
Definition at line 170 of file svm_fifo.h.
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 182 of file svm_fifo.h.
Here is the call graph for this function:
Here is the caller graph for this function:| format_function_t format_ooo_list |
Definition at line 37 of file svm_fifo.h.
| format_function_t format_ooo_segment |
Definition at line 36 of file svm_fifo.h.
| format_function_t format_svm_fifo |
Definition at line 206 of file svm_fifo.h.