DOKK / manpages / debian 13 / dpdk-doc / rte_mempool.3.en
rte_mempool(3) Library Functions Manual rte_mempool(3)

rte_mempool

#include <rte_mempool.h>


char name [RTE_MEMPOOL_NAMESIZE]
void * pool_config
const struct rte_memzone * mz
unsigned int flags
int socket_id
uint32_t size
uint32_t cache_size
uint32_t elt_size
uint32_t header_size
uint32_t trailer_size
unsigned private_data_size
int32_t ops_index
struct rte_mempool_cache * local_cache
uint32_t populated_size
struct rte_mempool_objhdr_list elt_list
uint32_t nb_mem_chunks
struct rte_mempool_memhdr_list mem_list

The RTE mempool structure.

Definition at line 230 of file rte_mempool.h.

Name of mempool.

Definition at line 231 of file rte_mempool.h.

Ring or pool to store objects.

Definition at line 233 of file rte_mempool.h.

External mempool identifier.

Definition at line 234 of file rte_mempool.h.

optional args for ops alloc.

Definition at line 236 of file rte_mempool.h.

Memzone where pool is alloc'd.

Definition at line 237 of file rte_mempool.h.

Flags of the mempool.

Definition at line 238 of file rte_mempool.h.

Socket id passed at create.

Definition at line 239 of file rte_mempool.h.

Max size of the mempool.

Definition at line 240 of file rte_mempool.h.

Size of per-lcore default local cache.

Definition at line 241 of file rte_mempool.h.

Size of an element.

Definition at line 244 of file rte_mempool.h.

Size of header (before elt).

Definition at line 245 of file rte_mempool.h.

Size of trailer (after elt).

Definition at line 246 of file rte_mempool.h.

Size of private data.

Definition at line 248 of file rte_mempool.h.

Index into rte_mempool_ops_table array of mempool ops structs, which contain callback function pointers. We're using an index here rather than pointers to the callbacks to facilitate any secondary processes that may want to use this mempool.

Definition at line 256 of file rte_mempool.h.

Per-lcore local cache

Definition at line 258 of file rte_mempool.h.

Number of populated objects.

Definition at line 260 of file rte_mempool.h.

List of objects in pool

Definition at line 261 of file rte_mempool.h.

Number of memory chunks

Definition at line 262 of file rte_mempool.h.

List of memory chunks

Definition at line 263 of file rte_mempool.h.

Generated automatically by Doxygen for DPDK from the source code.

Version 24.11.3 DPDK