DPDK  21.02.0
Data Fields
rte_mempool_ops Struct Reference

#include <rte_mempool.h>

Data Fields

char name [RTE_MEMPOOL_OPS_NAMESIZE]
 
rte_mempool_alloc_t alloc
 
rte_mempool_free_t free
 
rte_mempool_enqueue_t enqueue
 
rte_mempool_dequeue_t dequeue
 
rte_mempool_get_count get_count
 
rte_mempool_calc_mem_size_t calc_mem_size
 
rte_mempool_populate_t populate
 
rte_mempool_get_info_t get_info
 
rte_mempool_dequeue_contig_blocks_t dequeue_contig_blocks
 

Detailed Description

Structure defining mempool operations structure

Definition at line 614 of file rte_mempool.h.

Field Documentation

Name of mempool ops struct.

Definition at line 615 of file rte_mempool.h.

Allocate private data.

Definition at line 616 of file rte_mempool.h.

Free the external pool.

Definition at line 617 of file rte_mempool.h.

Enqueue an object.

Definition at line 618 of file rte_mempool.h.

Dequeue an object.

Definition at line 619 of file rte_mempool.h.

Get qty of available objs.

Definition at line 620 of file rte_mempool.h.

Optional callback to calculate memory size required to store specified number of objects.

Definition at line 625 of file rte_mempool.h.

Optional callback to populate mempool objects using provided memory chunk.

Definition at line 630 of file rte_mempool.h.

Get mempool info

Definition at line 634 of file rte_mempool.h.

rte_mempool_dequeue_contig_blocks_t dequeue_contig_blocks

Dequeue a number of contiguous object blocks.

Definition at line 638 of file rte_mempool.h.


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