![]() |
FD.io VPP
v17.10-9-gd594711
Vector Packet Processing
|
Include dependency graph for svm_fifo.c:Go to the source code of this file.
Macros | |
| #define | SVM_ENQUEUE_CLONE_TEMPLATE(arch, fn, tgt) |
| #define | SVM_FIFO_DEQUEUE_CLONE_TEMPLATE(arch, fn, tgt) |
| #define | SVM_FIFO_PEEK_CLONE_TEMPLATE(arch, fn, tgt) |
| #define SVM_ENQUEUE_CLONE_TEMPLATE | ( | arch, | |
| fn, | |||
| tgt | |||
| ) |
Definition at line 513 of file svm_fifo.c.
| #define SVM_FIFO_DEQUEUE_CLONE_TEMPLATE | ( | arch, | |
| fn, | |||
| tgt | |||
| ) |
Definition at line 676 of file svm_fifo.c.
| #define SVM_FIFO_PEEK_CLONE_TEMPLATE | ( | arch, | |
| fn, | |||
| tgt | |||
| ) |
Definition at line 743 of file svm_fifo.c.
| CLIB_MULTIARCH_SELECT_FN | ( | svm_fifo_enqueue_nowait_ma | ) |
Here is the caller graph for this function:| CLIB_MULTIARCH_SELECT_FN | ( | svm_fifo_dequeue_nowait_ma | ) |
| CLIB_MULTIARCH_SELECT_FN | ( | svm_fifo_peek_ma | ) |
| foreach_march_variant | ( | SVM_ENQUEUE_CLONE_TEMPLATE | , |
| svm_fifo_enqueue_nowait_ma | |||
| ) |
Here is the caller graph for this function:| foreach_march_variant | ( | SVM_FIFO_DEQUEUE_CLONE_TEMPLATE | , |
| svm_fifo_dequeue_nowait_ma | |||
| ) |
| foreach_march_variant | ( | SVM_FIFO_PEEK_CLONE_TEMPLATE | , |
| svm_fifo_peek_ma | |||
| ) |
Definition at line 150 of file svm_fifo.c.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 54 of file svm_fifo.c.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 167 of file svm_fifo.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Add segment to fifo's out-of-order segment list.
Takes care of merging adjacent segments and removing overlapping ones.
Definition at line 270 of file svm_fifo.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
static |
Removes segments that can now be enqueued because the fifo's tail has advanced.
Returns the number of bytes added to tail.
Definition at line 402 of file svm_fifo.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 41 of file svm_fifo.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 34 of file svm_fifo.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 27 of file svm_fifo.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 20 of file svm_fifo.c.
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 194 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 772 of file svm_fifo.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 618 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_nowait | ( | svm_fifo_t * | f, |
| u32 | max_bytes, | ||
| u8 * | copy_here | ||
| ) |
Definition at line 690 of file svm_fifo.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 671 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 66 of file svm_fifo.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 451 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_nowait | ( | svm_fifo_t * | f, |
| u32 | max_bytes, | ||
| u8 * | copy_from_here | ||
| ) |
Definition at line 533 of file svm_fifo.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 522 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 608 of file svm_fifo.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Enqueue a future segment.
Two choices: either copies the entire segment, or copies nothing Returns 0 of the entire segment was copied Returns -1 if none of the segment was copied due to lack of space
Definition at line 555 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 214 of file svm_fifo.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void svm_fifo_init_pointers | ( | svm_fifo_t * | f, |
| u32 | pointer | ||
| ) |
Set fifo pointers to requested offset.
Definition at line 827 of file svm_fifo.c.
Here is the caller graph for this function:| u32 svm_fifo_number_ooo_segments | ( | svm_fifo_t * | f | ) |
Definition at line 812 of file svm_fifo.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int svm_fifo_peek | ( | svm_fifo_t * | f, |
| u32 | relative_offset, | ||
| u32 | max_bytes, | ||
| u8 * | copy_here | ||
| ) |
Definition at line 756 of file svm_fifo.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 705 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 90 of file svm_fifo.c.
Here is the call graph for this function:
Here is the caller graph for this function: