DPDK  19.11.14
Public Member Functions | Data Fields
rte_mempool_objhdr Struct Reference

#include <rte_mempool.h>

Public Member Functions

 STAILQ_ENTRY (rte_mempool_objhdr) next
 

Data Fields

struct rte_mempoolmp
 
rte_iova_t iova
 
phys_addr_t physaddr
 

Detailed Description

Mempool object header structure

Each object stored in mempools are prefixed by this header structure, it allows to retrieve the mempool pointer from the object and to iterate on all objects attached to a mempool. When debug is enabled, a cookie is also added in this structure preventing corruptions and double-frees.

Definition at line 136 of file rte_mempool.h.

Member Function Documentation

◆ STAILQ_ENTRY()

STAILQ_ENTRY ( rte_mempool_objhdr  )

Next in list.

Field Documentation

◆ mp

struct rte_mempool* mp

The mempool owning the object.

Definition at line 138 of file rte_mempool.h.

◆ iova

rte_iova_t iova

IO address of the object.

Definition at line 141 of file rte_mempool.h.

◆ physaddr

phys_addr_t physaddr

deprecated - Physical address of the object.

Definition at line 142 of file rte_mempool.h.


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