DPDK  16.04.0
Data Fields
rte_memzone Struct Reference

#include <rte_memzone.h>

Data Fields

char name [RTE_MEMZONE_NAMESIZE]
phys_addr_t phys_addr
size_t len
uint64_t hugepage_sz
int32_t socket_id
uint32_t flags
uint32_t memseg_id
void * addr
uint64_t addr_64

Detailed Description

A structure describing a memzone, which is a contiguous portion of physical memory identified by a name.

Examples:
dpdk_qat/crypto.c, l2fwd-ivshmem/guest/guest.c, multi_process/client_server_mp/mp_client/client.c, multi_process/client_server_mp/mp_server/init.c, quota_watermark/qw/init.c, and quota_watermark/qwctl/qwctl.c.

Definition at line 75 of file rte_memzone.h.

Field Documentation

Name of the memory zone.

Definition at line 78 of file rte_memzone.h.

phys_addr_t phys_addr

Start physical address.

Examples:
dpdk_qat/crypto.c.

Definition at line 80 of file rte_memzone.h.

void* addr
uint64_t addr_64

Makes sure addr is always 64-bits

Definition at line 83 of file rte_memzone.h.

size_t len

Length of the memzone.

Examples:
dpdk_qat/crypto.c.

Definition at line 88 of file rte_memzone.h.

uint64_t hugepage_sz

The page size of underlying memory

Definition at line 90 of file rte_memzone.h.

int32_t socket_id

NUMA socket ID.

Definition at line 92 of file rte_memzone.h.

uint32_t flags

Characteristics of this memzone.

Definition at line 94 of file rte_memzone.h.

uint32_t memseg_id

Memseg it belongs.

Definition at line 95 of file rte_memzone.h.


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