DPDK
2.2.0
|
#include <rte_virtio_net.h>
Data Fields | |
struct virtio_memory * | mem |
uint64_t | features |
uint64_t | protocol_features |
uint64_t | device_fh |
uint32_t | flags |
char | ifname [IF_NAME_SZ] |
uint32_t | virt_qp_nb |
void * | priv |
uint64_t | reserved [64] |
struct vhost_virtqueue * | virtqueue [VHOST_MAX_QUEUE_PAIRS *2] |
Device structure contains all configuration information relating to the device.
Definition at line 122 of file rte_virtio_net.h.
struct virtio_memory* mem |
QEMU memory and memory region information.
Definition at line 123 of file rte_virtio_net.h.
uint64_t features |
Negotiated feature set.
Definition at line 124 of file rte_virtio_net.h.
uint64_t protocol_features |
Negotiated protocol feature set.
Definition at line 125 of file rte_virtio_net.h.
uint64_t device_fh |
device identifier.
Definition at line 126 of file rte_virtio_net.h.
uint32_t flags |
Device flags. Only used to check if device is running on data core.
Definition at line 127 of file rte_virtio_net.h.
char ifname[IF_NAME_SZ] |
Name of the tap device or socket path.
Definition at line 129 of file rte_virtio_net.h.
uint32_t virt_qp_nb |
number of queue pair we have allocated
Definition at line 130 of file rte_virtio_net.h.
void* priv |
private context
Definition at line 131 of file rte_virtio_net.h.
uint64_t reserved[64] |
Reserve some spaces for future extension.
Definition at line 132 of file rte_virtio_net.h.
struct vhost_virtqueue* virtqueue[VHOST_MAX_QUEUE_PAIRS *2] |
Contains all virtqueue information.
Definition at line 133 of file rte_virtio_net.h.