![]() |
FD.io VPP
v19.01.1-17-ge106252
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 545 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 171 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 284 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 416 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 205 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 734 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 678 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 530 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 598 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 227 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 843 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 828 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 726 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 781 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 | ||
| ) |