DPDK  19.08.0-rc0
Public Member Functions | Data Fields
rte_mempool_memhdr Struct Reference

#include <rte_mempool.h>

Public Member Functions

 STAILQ_ENTRY (rte_mempool_memhdr) next
 

Data Fields

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

Detailed Description

Mempool objects memory header structure

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

Definition at line 182 of file rte_mempool.h.

Member Function Documentation

◆ STAILQ_ENTRY()

STAILQ_ENTRY ( rte_mempool_memhdr  )

Next in list.

Field Documentation

◆ mp

struct rte_mempool* mp

The mempool owning the chunk

Definition at line 184 of file rte_mempool.h.

◆ addr

void* addr

Virtual address of the chunk

Definition at line 185 of file rte_mempool.h.

◆ iova

rte_iova_t iova

IO address of the chunk

Definition at line 188 of file rte_mempool.h.

◆ phys_addr

phys_addr_t phys_addr

Physical address of the chunk

Definition at line 189 of file rte_mempool.h.

◆ len

size_t len

length of the chunk

Definition at line 191 of file rte_mempool.h.

◆ free_cb

Free callback

Definition at line 192 of file rte_mempool.h.

◆ opaque

void* opaque

Argument passed to the free callback

Definition at line 193 of file rte_mempool.h.


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