---
name: "rte_memseg"
section: "3"
platform: "linux"
package: "dpdk-doc"
version: "24.11.4-0+deb13u1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/rte_memseg"
---

# rte\_memseg(3)

## NAME

rte\_memseg

## SYNOPSIS

`#include <rte_memory.h>`

### Data Fields

**rte\_iova\_t** **iova**\
 size\_t **len**\
 uint64\_t **hugepage\_sz**\
 int32\_t **socket\_id**\
 uint32\_t **nchannel**\
 uint32\_t **nrank**\
 uint32\_t **flags**\

## Detailed Description

Physical memory segment descriptor.

Definition at line **49** of file **rte\_memory.h**.

## Field Documentation

### rte\_iova\_t iova

Start IO address.

Definition at line **50** of file **rte\_memory.h**.

### void\* addr

Start virtual address.

Definition at line **52** of file **rte\_memory.h**.

### uint64\_t addr\_64

Makes sure addr is always 64 bits

Definition at line **53** of file **rte\_memory.h**.

### size\_t len

Length of the segment.

Definition at line **55** of file **rte\_memory.h**.

### uint64\_t hugepage\_sz

The pagesize of underlying memory

Definition at line **56** of file **rte\_memory.h**.

### int32\_t socket\_id

NUMA socket ID.

Definition at line **57** of file **rte\_memory.h**.

### uint32\_t nchannel

Number of channels.

Definition at line **58** of file **rte\_memory.h**.

### uint32\_t nrank

Number of ranks.

Definition at line **59** of file **rte\_memory.h**.

### uint32\_t flags

Memseg-specific flags

Definition at line **60** of file **rte\_memory.h**.

## Author

Generated automatically by Doxygen for DPDK from the source code.
