DPDK  2.2.0
Data Fields
virtio_memory Struct Reference

#include <rte_virtio_net.h>

Data Fields

uint64_t base_address
uint64_t mapped_address
uint64_t mapped_size
uint32_t nregions
struct virtio_memory_regions regions [0]

Detailed Description

Memory structure includes region and mapping information.

Examples:
vhost/main.c, and vhost_xen/vhost_monitor.c.

Definition at line 151 of file rte_virtio_net.h.

Field Documentation

uint64_t base_address

Base QEMU userspace address of the memory file.

Definition at line 152 of file rte_virtio_net.h.

uint64_t mapped_address

Mapped address of memory file base in our applications memory space.

Definition at line 153 of file rte_virtio_net.h.

uint64_t mapped_size

Total size of memory file.

Definition at line 154 of file rte_virtio_net.h.

uint32_t nregions

Number of memory regions.

Examples:
vhost/main.c.

Definition at line 155 of file rte_virtio_net.h.

struct virtio_memory_regions regions[0]

Memory region information.

Examples:
vhost/main.c.

Definition at line 156 of file rte_virtio_net.h.


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