![]() |
FD.io VPP
v20.09-64-g4f7b92f0a
Vector Packet Processing
|
Include dependency graph for vhost_user_output.c:Go to the source code of this file.
Macros | |
| #define | VHOST_USER_TX_COPY_THRESHOLD (VHOST_USER_COPY_ARRAY_N - 200) |
| #define | foreach_vhost_user_tx_func_error |
Enumerations | |
| enum | vhost_user_tx_func_error_t { VHOST_USER_TX_FUNC_N_ERROR } |
Variables | |
| vnet_device_class_t | vhost_user_device_class |
| static __clib_unused char * | vhost_user_tx_func_error_strings [] |
| #define foreach_vhost_user_tx_func_error |
Definition at line 63 of file vhost_user_output.c.
| #define VHOST_USER_TX_COPY_THRESHOLD (VHOST_USER_COPY_ARRAY_N - 200) |
Definition at line 59 of file vhost_user_output.c.
| Enumerator | |
|---|---|
| VHOST_USER_TX_FUNC_N_ERROR | |
Definition at line 72 of file vhost_user_output.c.
Definition at line 87 of file vhost_user_output.c.
Here is the call graph for this function:
Here is the caller graph for this function:| VNET_DEVICE_CLASS_TX_FN() vhost_user_device_class | ( | vlib_main_t * | vm, |
| vlib_node_runtime_t * | node, | ||
| vlib_frame_t * | frame | ||
| ) |
| static_always_inline uword vhost_user_device_class_packed | ( | vlib_main_t * | vm, |
| vlib_node_runtime_t * | node, | ||
| vlib_frame_t * | frame | ||
| ) |
Definition at line 391 of file vhost_user_output.c.
Here is the call graph for this function:
Here is the caller graph for this function:| static_always_inline void vhost_user_handle_tx_offload | ( | vhost_user_intf_t * | vui, |
| vlib_buffer_t * | b, | ||
| virtio_net_hdr_t * | hdr | ||
| ) |
Definition at line 235 of file vhost_user_output.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
|
static |
Definition at line 1055 of file vhost_user_output.c.
Here is the call graph for this function:
Here is the caller graph for this function:| static_always_inline void vhost_user_mark_desc_available | ( | vlib_main_t * | vm, |
| vhost_user_vring_t * | rxvq, | ||
| u16 * | n_descs_processed, | ||
| u8 | chained, | ||
| vlib_frame_t * | frame, | ||
| u32 | n_left | ||
| ) |
Definition at line 295 of file vhost_user_output.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
| static_always_inline u32 vhost_user_tx_copy | ( | vhost_user_intf_t * | vui, |
| vhost_copy_t * | cpy, | ||
| u16 | copy_len, | ||
| u32 * | map_hint | ||
| ) |
Definition at line 188 of file vhost_user_output.c.
Here is the call graph for this function:
Here is the caller graph for this function:| static_always_inline void vhost_user_tx_trace | ( | vhost_trace_t * | t, |
| vhost_user_intf_t * | vui, | ||
| u16 | qid, | ||
| vlib_buffer_t * | b, | ||
| vhost_user_vring_t * | rxvq | ||
| ) |
Definition at line 153 of file vhost_user_output.c.
Here is the call graph for this function:
Here is the caller graph for this function:| static_always_inline void vhost_user_tx_trace_packed | ( | vhost_trace_t * | t, |
| vhost_user_intf_t * | vui, | ||
| u16 | qid, | ||
| vlib_buffer_t * | b, | ||
| vhost_user_vring_t * | rxvq | ||
| ) |
Definition at line 355 of file vhost_user_output.c.
Here is the call graph for this function:
Here is the caller graph for this function:| static_always_inline void vhost_user_vring_lock | ( | vhost_user_intf_t * | vui, |
| u32 | qid | ||
| ) |
Spin until the vring is successfully locked.
Definition at line 137 of file vhost_user_output.c.
Here is the call graph for this function:
Here is the caller graph for this function:| static_always_inline int vhost_user_vring_try_lock | ( | vhost_user_intf_t * | vui, |
| u32 | qid | ||
| ) |
Try once to lock the vring.
Definition at line 128 of file vhost_user_output.c.
Here is the caller graph for this function:| static_always_inline void vhost_user_vring_unlock | ( | vhost_user_intf_t * | vui, |
| u32 | qid | ||
| ) |
Unlock the vring lock.
Definition at line 147 of file vhost_user_output.c.
Here is the caller graph for this function:| VNET_DEVICE_CLASS | ( | vhost_user_device_class | ) |
Here is the caller graph for this function:| vnet_device_class_t vhost_user_device_class |
|
static |
Definition at line 80 of file vhost_user_output.c.