DPDK  24.07.0
Public Member Functions | Data Fields
rte_mempool_memhdr Struct Reference

#include <rte_mempool.h>

Public Member Functions

 RTE_STAILQ_ENTRY (rte_mempool_memhdr) next
 

Data Fields

struct rte_mempoolmp
 
void * addr
 
rte_iova_t iova
 
size_t len
 
rte_mempool_memchunk_free_cb_tfree_cb
 
void * opaque
 

Detailed Description

Mempool objects memory header structure

The memory chunks where objects are stored. Each chunk is virtually and physically contiguous.

Examples:
examples/ntb/ntb_fwd.c.

Definition at line 206 of file rte_mempool.h.

Member Function Documentation

◆ RTE_STAILQ_ENTRY()

RTE_STAILQ_ENTRY ( rte_mempool_memhdr  )

Next in list.

Field Documentation

◆ mp

struct rte_mempool* mp

The mempool owning the chunk

Definition at line 208 of file rte_mempool.h.

◆ addr

void* addr

Virtual address of the chunk

Definition at line 209 of file rte_mempool.h.

◆ iova

rte_iova_t iova

IO address of the chunk

Definition at line 210 of file rte_mempool.h.

◆ len

size_t len

length of the chunk

Definition at line 211 of file rte_mempool.h.

◆ free_cb

Free callback

Definition at line 212 of file rte_mempool.h.

◆ opaque

void* opaque

Argument passed to the free callback

Definition at line 213 of file rte_mempool.h.


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