FD.io VPP
v18.07.1-19-g511ce25
Vector Packet Processing
|
Go to the source code of this file.
Macros | |
#define | VHOST_USER_TX_COPY_THRESHOLD (VHOST_USER_COPY_ARRAY_N - 40) |
#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 [] |
vlib_node_function_t __clib_weak | vhost_user_tx_avx512 |
vlib_node_function_t __clib_weak | vhost_user_tx_avx2 |
#define foreach_vhost_user_tx_func_error |
Definition at line 58 of file vhost_user_output.c.
#define VHOST_USER_TX_COPY_THRESHOLD (VHOST_USER_COPY_ARRAY_N - 40) |
Definition at line 54 of file vhost_user_output.c.
Enumerator | |
---|---|
VHOST_USER_TX_FUNC_N_ERROR |
Definition at line 67 of file vhost_user_output.c.
Definition at line 82 of file vhost_user_output.c.
|
static |
|
static |
Definition at line 556 of file vhost_user_output.c.
|
static |
uword CLIB_MULTIARCH_FN() vhost_user_tx | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
Definition at line 228 of file vhost_user_output.c.
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 180 of file vhost_user_output.c.
|
static |
Definition at line 653 of file vhost_user_output.c.
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 145 of file vhost_user_output.c.
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 129 of file vhost_user_output.c.
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 120 of file vhost_user_output.c.
static_always_inline void vhost_user_vring_unlock | ( | vhost_user_intf_t * | vui, |
u32 | qid | ||
) |
Unlock the vring lock.
Definition at line 139 of file vhost_user_output.c.
VNET_DEVICE_CLASS | ( | vhost_user_device_class | ) |
vnet_device_class_t vhost_user_device_class |
Definition at line 56 of file vhost_user_output.c.
vlib_node_function_t __clib_weak vhost_user_tx_avx2 |
Definition at line 651 of file vhost_user_output.c.
vlib_node_function_t __clib_weak vhost_user_tx_avx512 |
Definition at line 650 of file vhost_user_output.c.
|
static |
Definition at line 75 of file vhost_user_output.c.