---
name: "rte_memseg_list"
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_list"
---

# rte\_memseg\_list(3)

## NAME

rte\_memseg\_list

## SYNOPSIS

`#include <rte_memory.h>`

### Data Fields

uint64\_t **page\_sz**\
 int **socket\_id**\
 volatile uint32\_t **version**\
 size\_t **len**\
 unsigned int **external**\
 unsigned int **heap**\

## Detailed Description

memseg list is a special case as we need to store a bunch of other data together with the array itself.

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

## Field Documentation

### void\* base\_va

Base virtual address for this memseg list.

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

### uint64\_t addr\_64

Makes sure addr is always 64-bits

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

### uint64\_t page\_sz

Page size for all memsegs in this list.

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

### int socket\_id

Socket ID for all memsegs in this list.

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

### volatile uint32\_t version

version number for multiprocess sync.

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

### size\_t len

Length of memory area covered by this memseg list.

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

### unsigned int external

1 if this list points to external memory

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

### unsigned int heap

1 if this list points to a heap

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

## Author

Generated automatically by Doxygen for DPDK from the source code.
