DPDK  16.04.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 165 of file rte_virtio_net.h.

Field Documentation

uint64_t base_address

Base QEMU userspace address of the memory file.

Definition at line 166 of file rte_virtio_net.h.

uint64_t mapped_address

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

Definition at line 167 of file rte_virtio_net.h.

uint64_t mapped_size

Total size of memory file.

Definition at line 168 of file rte_virtio_net.h.

uint32_t nregions

Number of memory regions.

Examples:
vhost/main.c.

Definition at line 169 of file rte_virtio_net.h.

struct virtio_memory_regions regions[0]

Memory region information.

Examples:
vhost/main.c.

Definition at line 170 of file rte_virtio_net.h.


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