![]() |
FD.io VPP
v18.10-32-g1161dda
Vector Packet Processing
|
Include dependency graph for svm_fifo.c:Go to the source code of this file.
| CLIB_MARCH_FN | ( | svm_fifo_enqueue_nowait | , |
| int | , | ||
| svm_fifo_t * | f, | ||
| u32 | max_bytes, | ||
| const u8 * | copy_from_here | ||
| ) |
| CLIB_MARCH_FN | ( | svm_fifo_enqueue_with_offset | , |
| int | , | ||
| svm_fifo_t * | f, | ||
| u32 | offset, | ||
| u32 | required_bytes, | ||
| u8 * | copy_from_here | ||
| ) |
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 538 of file svm_fifo.c.
Here is the call graph for this function:| CLIB_MARCH_FN | ( | svm_fifo_dequeue_nowait | , |
| int | , | ||
| svm_fifo_t * | f, | ||
| u32 | max_bytes, | ||
| u8 * | copy_here | ||
| ) |
| CLIB_MARCH_FN | ( | svm_fifo_peek | , |
| int | , | ||
| svm_fifo_t * | f, | ||
| u32 | relative_offset, | ||
| u32 | max_bytes, | ||
| u8 * | copy_here | ||
| ) |
Definition at line 152 of file svm_fifo.c.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 56 of file svm_fifo.c.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 169 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 278 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 410 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 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:| 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:| 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:| 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 | relative_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 | ||
| ) |