DPDK
18.05.1
|
#include <rte_mempool.h>
Structure defining mempool operations structure
Definition at line 580 of file rte_mempool.h.
char name[RTE_MEMPOOL_OPS_NAMESIZE] |
Name of mempool ops struct.
Definition at line 581 of file rte_mempool.h.
rte_mempool_alloc_t alloc |
Allocate private data.
Definition at line 582 of file rte_mempool.h.
rte_mempool_free_t free |
Free the external pool.
Definition at line 583 of file rte_mempool.h.
rte_mempool_enqueue_t enqueue |
Enqueue an object.
Definition at line 584 of file rte_mempool.h.
rte_mempool_dequeue_t dequeue |
Dequeue an object.
Definition at line 585 of file rte_mempool.h.
rte_mempool_get_count get_count |
Get qty of available objs.
Definition at line 586 of file rte_mempool.h.
rte_mempool_calc_mem_size_t calc_mem_size |
Optional callback to calculate memory size required to store specified number of objects.
Definition at line 591 of file rte_mempool.h.
rte_mempool_populate_t populate |
Optional callback to populate mempool objects using provided memory chunk.
Definition at line 596 of file rte_mempool.h.
rte_mempool_get_info_t get_info |
Get mempool info
Definition at line 600 of file rte_mempool.h.
rte_mempool_dequeue_contig_blocks_t dequeue_contig_blocks |
Dequeue a number of contiguous object blocks.
Definition at line 604 of file rte_mempool.h.