rte_mempool_ops(3)

πŸ“¦ version 26.03, in nixos 26.05, nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, this is rte_mempool_ops from the DPDK Library Functions Manual β€” the struct page, and yes she has main character energy 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <rte_mempool.h>

πŸŽ€ Data Fields πŸŽ€

  • char name [RTE_MEMPOOL_OPS_NAMESIZE] β€” the name field, sized by RTE_MEMPOOL_OPS_NAMESIZE ✨
  • rte_mempool_alloc_t alloc β€” the alloc callback πŸ“
  • rte_mempool_free_t free β€” the free callback πŸ’…
  • rte_mempool_enqueue_t enqueue β€” the enqueue callback 🌸
  • rte_mempool_dequeue_t dequeue β€” the dequeue callback πŸ¦‹
  • rte_mempool_get_count get_count β€” the get-count callback ⭐
  • rte_mempool_calc_mem_size_t calc_mem_size β€” the calc-mem-size callback πŸ”₯
  • rte_mempool_populate_t populate β€” the populate callback πŸ’œ
  • rte_mempool_get_info_t get_info β€” the get-info callback πŸ‘‘
  • rte_mempool_dequeue_contig_blocks_t dequeue_contig_blocks β€” the contiguous-blocks dequeue callback 🌈

πŸ’… DETAILED DESCRIPTION πŸ’…

Structure defining mempool operations structure.

Definition at line 692 of file rte_mempool.h.


✨ FIELD DOCUMENTATION ✨

🏷️ char name[RTE_MEMPOOL_OPS_NAMESIZE]

Name of mempool ops struct.

Definition at line 693 of file rte_mempool.h.

🧚 rte_mempool_alloc_t alloc

Allocate private data.

Definition at line 694 of file rte_mempool.h.

πŸŽ€ rte_mempool_free_t free

Free the external pool.

Definition at line 695 of file rte_mempool.h.

🌸 rte_mempool_enqueue_t enqueue

Enqueue an object.

Definition at line 696 of file rte_mempool.h.

πŸ¦‹ rte_mempool_dequeue_t dequeue

Dequeue an object.

Definition at line 697 of file rte_mempool.h.

⭐ rte_mempool_get_count get_count

Get qty of available objs.

Definition at line 698 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 703 of file rte_mempool.h.

πŸ’œ rte_mempool_populate_t populate

Optional callback to populate mempool objects using provided memory chunk.

Definition at line 708 of file rte_mempool.h.

πŸ‘‘ rte_mempool_get_info_t get_info

Get mempool info

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.

Definition at line 716 of file rte_mempool.h.


🌟 AUTHOR 🌟

Generated automatically by Doxygen for DPDK from the source code.


DPDK Β· Version 26.03.0 Β· rte_mempool_ops(3) β€” that's the cute little footer sign-off, bestie, mwah πŸ’‹πŸ’–

πŸ“¦ where this page comes from