Go to the source code of this file.
|
u8 * | format_virtio_device_name (u8 *s, va_list *args) |
|
static u8 * | format_virtio_device (u8 *s, va_list *args) |
|
static u8 * | format_virtio_tx_trace (u8 *s, va_list *args) |
|
static_always_inline void | virtio_memset_ring_u32 (u32 *ring, u32 start, u32 ring_size, u32 n_buffers) |
|
static_always_inline void | virtio_free_used_device_desc (vlib_main_t *vm, virtio_vring_t *vring, uword node_index) |
|
static_always_inline u16 | add_buffer_to_slot (vlib_main_t *vm, virtio_if_t *vif, virtio_vring_t *vring, u32 bi, u16 avail, u16 next, u16 mask, int do_gso) |
|
static_always_inline u32 | 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 uword | virtio_interface_tx_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, virtio_if_t *vif, int do_gso) |
|
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 clib_error_t * | virtio_interface_rx_mode_change (vnet_main_t *vnm, u32 hw_if_index, u32 qid, vnet_hw_interface_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) |
|
◆ foreach_virtio_tx_func_error
#define foreach_virtio_tx_func_error |
Value:_(NO_FREE_SLOTS, "no free tx slots") \
_(TRUNC_PACKET, "packet > buffer size -- truncated in tx ring") \
_(PENDING_MSGS, "pending msgs in tx ring") \
_(NO_TX_QUEUES, "no tx queues") \
_(OUT_OF_ORDER, "out-of-order buffers in used ring")
Definition at line 29 of file device.c.
◆ virtio_tx_func_error_t
Enumerator |
---|
VIRTIO_TX_N_ERROR | |
Definition at line 36 of file device.c.
◆ add_buffer_to_slot()
◆ format_virtio_device()
static u8* format_virtio_device |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ format_virtio_device_name()
u8* format_virtio_device_name |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ format_virtio_tx_trace()
static u8* format_virtio_tx_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ virtio_clear_hw_interface_counters()
static void virtio_clear_hw_interface_counters |
( |
u32 |
instance | ) |
|
|
static |
◆ virtio_device_class()
◆ virtio_find_free_desc()
◆ virtio_free_used_device_desc()
◆ virtio_interface_admin_up_down()
◆ virtio_interface_rx_mode_change()
◆ virtio_interface_tx_inline()
◆ virtio_memset_ring_u32()
◆ virtio_set_interface_next_node()
static void virtio_set_interface_next_node |
( |
vnet_main_t * |
vnm, |
|
|
u32 |
hw_if_index, |
|
|
u32 |
node_index |
|
) |
| |
|
static |
◆ virtio_subif_add_del_function()
◆ VNET_DEVICE_CLASS()
◆ virtio_tx_func_error_strings
char* virtio_tx_func_error_strings[] |
|
static |
Initial value:= {
#define _(n,s)
}
#define foreach_virtio_tx_func_error
Definition at line 44 of file device.c.