DPDK
2.2.0
|
#include <rte_virtio_net.h>
Data Fields | |
struct vring_desc * | desc |
struct vring_avail * | avail |
struct vring_used * | used |
uint32_t | size |
uint32_t | backend |
uint16_t | vhost_hlen |
volatile uint16_t | last_used_idx |
volatile uint16_t | last_used_idx_res |
int | callfd |
int | kickfd |
uint64_t | reserved [16] |
struct buf_vector | buf_vec [BUF_VECTOR_MAX] |
Structure contains variables relevant to RX/TX virtqueues.
Definition at line 81 of file rte_virtio_net.h.
struct vring_desc* desc |
Virtqueue descriptor ring.
Definition at line 82 of file rte_virtio_net.h.
struct vring_avail* avail |
Virtqueue available ring.
Definition at line 83 of file rte_virtio_net.h.
struct vring_used* used |
Virtqueue used ring.
Definition at line 84 of file rte_virtio_net.h.
uint32_t size |
Size of descriptor ring.
Definition at line 85 of file rte_virtio_net.h.
uint32_t backend |
Backend value to determine if device should started/stopped.
Definition at line 86 of file rte_virtio_net.h.
uint16_t vhost_hlen |
Vhost header length (varies depending on RX merge buffers.
Definition at line 87 of file rte_virtio_net.h.
volatile uint16_t last_used_idx |
Last index used on the available ring
Definition at line 88 of file rte_virtio_net.h.
volatile uint16_t last_used_idx_res |
Used for multiple devices reserving buffers.
Definition at line 89 of file rte_virtio_net.h.
int callfd |
Used to notify the guest (trigger interrupt).
Definition at line 90 of file rte_virtio_net.h.
int kickfd |
Currently unused as polling mode is enabled.
Definition at line 91 of file rte_virtio_net.h.
uint64_t reserved[16] |
Reserve some spaces for future extension.
Definition at line 93 of file rte_virtio_net.h.
struct buf_vector buf_vec[BUF_VECTOR_MAX] |
for scatter RX.
Definition at line 94 of file rte_virtio_net.h.