DPDK  24.11.0-rc3
Data Fields
rte_memzone Struct Reference

#include <rte_memzone.h>

Data Fields

char name [RTE_MEMZONE_NAMESIZE]
 
rte_iova_t iova
 
size_t len
 
uint64_t hugepage_sz
 
int32_t socket_id
 
uint32_t flags
 
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:
examples/ipsec-secgw/sa.c, examples/multi_process/client_server_mp/mp_client/client.c, examples/multi_process/client_server_mp/mp_server/init.c, examples/ntb/ntb_fwd.c, examples/server_node_efd/efd_node/node.c, and examples/server_node_efd/efd_server/init.c.

Definition at line 48 of file rte_memzone.h.

Field Documentation

◆ name

Name of the memory zone.

Examples:
examples/ipsec-secgw/sa.c.

Definition at line 51 of file rte_memzone.h.

◆ iova

rte_iova_t iova

Start IO address.

Examples:
examples/ntb/ntb_fwd.c.

Definition at line 53 of file rte_memzone.h.

◆ addr

void* addr

◆ addr_64

uint64_t addr_64

Makes sure addr is always 64-bits

Definition at line 56 of file rte_memzone.h.

◆ len

size_t len

Length of the memzone.

Examples:
examples/ntb/ntb_fwd.c.

Definition at line 58 of file rte_memzone.h.

◆ hugepage_sz

uint64_t hugepage_sz

The page size of underlying memory

Definition at line 60 of file rte_memzone.h.

◆ socket_id

int32_t socket_id

NUMA socket ID.

Examples:
examples/ipsec-secgw/sa.c.

Definition at line 62 of file rte_memzone.h.

◆ flags

uint32_t flags

Characteristics of this memzone.

Definition at line 64 of file rte_memzone.h.


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