DPDK  2.1.0
Data Fields
virtio_net Struct Reference

#include <rte_virtio_net.h>

Data Fields

struct vhost_virtqueuevirtqueue [VIRTIO_QNUM]
struct virtio_memorymem
uint64_t features
uint64_t device_fh
uint32_t flags
char ifname [IF_NAME_SZ]
void * priv

Detailed Description

Device structure contains all configuration information relating to the device.

Definition at line 98 of file rte_virtio_net.h.

Field Documentation

struct vhost_virtqueue* virtqueue[VIRTIO_QNUM]

Contains all virtqueue information.

Definition at line 99 of file rte_virtio_net.h.

struct virtio_memory* mem

QEMU memory and memory region information.

Definition at line 100 of file rte_virtio_net.h.

uint64_t features

Negotiated feature set.

Definition at line 101 of file rte_virtio_net.h.

uint64_t device_fh

device identifier.

Definition at line 102 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 103 of file rte_virtio_net.h.

char ifname[IF_NAME_SZ]

Name of the tap device or socket path.

Definition at line 105 of file rte_virtio_net.h.

void* priv

private context

Definition at line 106 of file rte_virtio_net.h.


The documentation for this struct was generated from the following file: