DPDK
16.04.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 | log_size |
uint64_t | log_base |
struct ether_addr | mac |
rte_atomic16_t | broadcast_rarp |
uint64_t | reserved [61] |
struct vhost_virtqueue * | virtqueue [VHOST_MAX_QUEUE_PAIRS *2] |
Device structure contains all configuration information relating to the device.
Definition at line 132 of file rte_virtio_net.h.
struct virtio_memory* mem |
QEMU memory and memory region information.
Definition at line 133 of file rte_virtio_net.h.
uint64_t features |
Negotiated feature set.
Definition at line 134 of file rte_virtio_net.h.
uint64_t protocol_features |
Negotiated protocol feature set.
Definition at line 135 of file rte_virtio_net.h.
uint64_t device_fh |
device identifier.
Definition at line 136 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 137 of file rte_virtio_net.h.
char ifname[IF_NAME_SZ] |
Name of the tap device or socket path.
Definition at line 139 of file rte_virtio_net.h.
uint32_t virt_qp_nb |
number of queue pair we have allocated
Definition at line 140 of file rte_virtio_net.h.
void* priv |
private context
Definition at line 141 of file rte_virtio_net.h.
uint64_t log_size |
Size of log area
Definition at line 142 of file rte_virtio_net.h.
uint64_t log_base |
Where dirty pages are logged
Definition at line 143 of file rte_virtio_net.h.
struct ether_addr mac |
MAC address
Definition at line 144 of file rte_virtio_net.h.
rte_atomic16_t broadcast_rarp |
A flag to tell if we need broadcast rarp packet
Definition at line 145 of file rte_virtio_net.h.
uint64_t reserved[61] |
Reserve some spaces for future extension.
Definition at line 146 of file rte_virtio_net.h.
struct vhost_virtqueue* virtqueue[VHOST_MAX_QUEUE_PAIRS *2] |
Contains all virtqueue information.
Definition at line 147 of file rte_virtio_net.h.