---
name: "rte_mem_resource"
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_mem_resource"
---

# rte\_mem\_resource(3)

## NAME

rte\_mem\_resource

## SYNOPSIS

`#include <rte_dev.h>`

### Data Fields

uint64\_t **phys\_addr**\
 uint64\_t **len**\
 void \* **addr**\

## Detailed Description

A generic memory resource representation.

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

## Field Documentation

### uint64\_t phys\_addr

Physical address, 0 if not resource.

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

### uint64\_t len

Length of the resource.

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

### void\* addr

Virtual address, NULL when not mapped.

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

## Author

Generated automatically by Doxygen for DPDK from the source code.
