FD.io VPP
v20.09-64-g4f7b92f0a
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | virtio_tx_trace_t |
Macros | |
#define | foreach_virtio_tx_func_error |
Enumerations | |
enum | virtio_tx_func_error_t { VIRTIO_TX_N_ERROR } |
Variables | |
static char * | virtio_tx_func_error_strings [] |
#define foreach_virtio_tx_func_error |
static_always_inline u16 add_buffer_to_slot | ( | vlib_main_t * | vm, |
virtio_if_t * | vif, | ||
virtio_if_type_t | type, | ||
virtio_vring_t * | vring, | ||
u32 | bi, | ||
u16 | free_desc_count, | ||
u16 | avail, | ||
u16 | next, | ||
u16 | mask, | ||
int | do_gso, | ||
int | csum_offload, | ||
uword | node_index | ||
) |
static_always_inline void set_checksum_offsets | ( | vlib_buffer_t * | b, |
virtio_net_hdr_v1_t * | hdr, | ||
int | is_l2 | ||
) |
static_always_inline void set_gso_offsets | ( | vlib_buffer_t * | b, |
virtio_net_hdr_v1_t * | hdr, | ||
int | is_l2 | ||
) |
|
static |
VNET_DEVICE_CLASS_TX_FN() virtio_device_class | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
static_always_inline void virtio_find_free_desc | ( | virtio_vring_t * | vring, |
u16 | size, | ||
u16 | mask, | ||
u16 | req, | ||
u16 | next, | ||
u32 * | first_free_desc_index, | ||
u16 * | free_desc_count | ||
) |
static_always_inline void virtio_free_used_device_desc | ( | vlib_main_t * | vm, |
virtio_vring_t * | vring, | ||
uword | node_index | ||
) |
|
static |
static_always_inline void virtio_interface_drop_inline | ( | vlib_main_t * | vm, |
uword | node_index, | ||
u32 * | buffers, | ||
u16 | n, | ||
virtio_tx_func_error_t | error | ||
) |
|
static |
static_always_inline uword virtio_interface_tx_gso_inline | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame, | ||
virtio_if_t * | vif, | ||
virtio_if_type_t | type, | ||
int | do_gso, | ||
int | csum_offload, | ||
int | do_gro | ||
) |
static_always_inline uword virtio_interface_tx_inline | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame, | ||
virtio_if_t * | vif, | ||
virtio_if_type_t | type | ||
) |
static_always_inline void virtio_memset_ring_u32 | ( | u32 * | ring, |
u32 | start, | ||
u32 | ring_size, | ||
u32 | n_buffers | ||
) |
|
static |
|
static |
VNET_DEVICE_CLASS | ( | virtio_device_class | ) |
|
static |