rte_mempool_ops(3)
๐ NAME ๐
rte_mempool_ops โ okay bestie, this is the struct that holds all the operations a mempool can do. It's living in the rte_mempool_ops(3) manual page, iykyk. ๐ซถ
โจ SYNOPSIS โจ
#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 ๐ธ
It's literally the structure defining the mempool operations structure. That's the whole vibe. ๐
Definition at line 692 of file rte_mempool.h.
๐ Field Documentation ๐
๐ฆ char name[RTE_MEMPOOL_OPS_NAMESIZE] ๐ฆ
Name of mempool ops struct.</purl> โ yes, the struct has a name and it's serving. ๐
Definition at line 693 of file rte_mempool.h.
๐ฆ rte_mempool_alloc_t alloc ๐ฆ
Allocate private data. Gotta get that memory, no cap. โจ
Definition at line 694 of file rte_mempool.h.
๐ฆ rte_mempool_free_t free ๐ฆ
Free the external pool. Release it back to the wild, bestie. ๐ฆ
Definition at line 695 of file rte_mempool.h.
๐ฆ rte_mempool_enqueue_t enqueue ๐ฆ
Enqueue an object. Pop it in the queue, main character entering the chat. ๐
Definition at line 696 of file rte_mempool.h.
๐ฆ rte_mempool_dequeue_t dequeue ๐ฆ
Dequeue an object. Taking one out, iconic behavior. ๐
Definition at line 697 of file rte_mempool.h.
๐ฆ rte_mempool_get_count_t get_count ๐ฆ
Get qty of available objs. โ like, how many do we even have left, fr fr. ๐ข
Definition at line 698 of file rte_mempool.h.
๐ฆ rte_mempool_calc_mem_size_t calc_mem_size ๐ฆ
Optional callback to calculate the memory size required to store the specified number of objects. Math girl summer, she's crunching the numbers so you don't have to. ๐งฎโจ
Definition at line 703 of file rte_mempool.h.
๐ฆ rte_mempool_populate_t populate ๐ฆ
Optional callback to populate mempool objects using the provided memory chunk. Fill 'er up with the chunk you were given, periodt. ๐
Definition at line 708 of file rte_mempool.h.
๐ฆ rte_mempool_get_info_t get_info ๐ฆ
Get mempool info. Tell me everything, bestie, I'm obsessed. ๐
Definition at line 712 of file rte_mempool.h.
๐ฆ rte_mempool_dequeue_contig_blocks_t dequeue_contig_blocks ๐ฆ
Dequeue a number of contiguous object blocks. Not just one โ a whole little squad, sitting right next to each other. ๐ฏ๐ฅ
Definition at line 716 of file rte_mempool.h.
๐ Author ๐
Generated automatically by Doxygen for DPDK from the source code. Not me writing it by hand, the robot did it, and honestly? Ate. ๐
That's the whole page, cupcake! This was DPDK, Version 25.11.3, and the page you just read is rte_mempool_ops(3). Go forth and slay your mempool, bestie. ๐๐๐ง
๐ฆ where this page comes from
- ubuntu resolute: dpdk-doc 25.11.3-0ubuntu0.26.04.1 ยท BSD-3-Clause
- ubuntu stonking: dpdk-doc 25.11.3-1 ยท BSD-3-Clause
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms