|
static u8 * | format_virtio_device (u8 *s, va_list *args) |
|
static u8 * | format_virtio_tx_trace (u8 *s, va_list *va) |
|
static void | virtio_tx_trace (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_buffer_t *b0, u32 bi, int is_tun) |
|
static void | virtio_interface_drop_inline (vlib_main_t *vm, virtio_if_t *vif, uword node_index, u32 *buffers, u16 n, virtio_tx_func_error_t error) |
|
static void | virtio_memset_ring_u32 (u32 *ring, u32 start, u32 ring_size, u32 n_buffers) |
|
static void | virtio_free_used_device_desc_split (vlib_main_t *vm, virtio_vring_t *vring, uword node_index) |
|
static void | virtio_free_used_device_desc_packed (vlib_main_t *vm, virtio_vring_t *vring, uword node_index) |
|
static void | virtio_free_used_device_desc (vlib_main_t *vm, virtio_vring_t *vring, uword node_index, int packed) |
|
static void | set_checksum_offsets (vlib_buffer_t *b, virtio_net_hdr_v1_t *hdr, const int is_l2) |
|
static void | set_gso_offsets (vlib_buffer_t *b, virtio_net_hdr_v1_t *hdr, const int is_l2) |
|
static u16 | add_buffer_to_slot (vlib_main_t *vm, vlib_node_runtime_t *node, virtio_if_t *vif, virtio_vring_t *vring, u32 bi, u16 free_desc_count, u16 avail, u16 next, u16 mask, int hdr_sz, int do_gso, int csum_offload, int is_pci, int is_tun, int is_indirect, int is_any_layout) |
|
static u16 | add_buffer_to_slot_packed (vlib_main_t *vm, vlib_node_runtime_t *node, virtio_if_t *vif, virtio_vring_t *vring, u32 bi, u16 next, int hdr_sz, int do_gso, int csum_offload, int is_pci, int is_tun, int is_indirect, int is_any_layout) |
|
static uword | virtio_interface_tx_packed_gso_inline (vlib_main_t *vm, vlib_node_runtime_t *node, virtio_if_t *vif, virtio_if_type_t type, virtio_vring_t *vring, u32 *buffers, u16 n_left, const int do_gso, const int csum_offload) |
|
static 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 u16 | virtio_interface_tx_split_gso_inline (vlib_main_t *vm, vlib_node_runtime_t *node, virtio_if_t *vif, virtio_if_type_t type, virtio_vring_t *vring, u32 *buffers, u16 n_left, int do_gso, int csum_offload) |
|
static u16 | virtio_interface_tx_gso_inline (vlib_main_t *vm, vlib_node_runtime_t *node, virtio_if_t *vif, virtio_if_type_t type, virtio_vring_t *vring, u32 *buffers, u16 n_left, int packed, int do_gso, int csum_offload) |
|
static u16 | virtio_interface_tx_inline (vlib_main_t *vm, vlib_node_runtime_t *node, virtio_if_t *vif, virtio_vring_t *vring, virtio_if_type_t type, u32 *buffers, u16 n_left, int packed) |
|
VNET_DEVICE_CLASS_TX_FN() | virtio_device_class (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static void | virtio_set_interface_next_node (vnet_main_t *vnm, u32 hw_if_index, u32 node_index) |
|
static void | virtio_clear_hw_interface_counters (u32 instance) |
|
static void | virtio_set_rx_interrupt (virtio_if_t *vif, virtio_vring_t *vring) |
|
static void | virtio_set_rx_polling (virtio_if_t *vif, virtio_vring_t *vring) |
|
static clib_error_t * | virtio_interface_rx_mode_change (vnet_main_t *vnm, u32 hw_if_index, u32 qid, vnet_hw_if_rx_mode mode) |
|
static clib_error_t * | virtio_interface_admin_up_down (vnet_main_t *vnm, u32 hw_if_index, u32 flags) |
|
static clib_error_t * | virtio_subif_add_del_function (vnet_main_t *vnm, u32 hw_if_index, struct vnet_sw_interface_t *st, int is_add) |
|
| VNET_DEVICE_CLASS (virtio_device_class) |
|