logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

rte_mempool_ops

Author

       Generated automatically by Doxygen for DPDK from the source code.

DPDK                                             Version 24.11.2                              rte_mempool_ops(3)

Detailed Description

       Structure defining mempool operations structure

       Definition at line 692 of file rte_mempool.h.

Field Documentation

charname[RTE_MEMPOOL_OPS_NAMESIZE]
       Name of mempool ops struct.

       Definition at line 693 of file rte_mempool.h.

   rte_mempool_alloc_talloc
       Allocate private data.

       Definition at line 694 of file rte_mempool.h.

   rte_mempool_free_tfree
       Free the external pool.

       Definition at line 695 of file rte_mempool.h.

   rte_mempool_enqueue_tenqueue
       Enqueue an object.

       Definition at line 696 of file rte_mempool.h.

   rte_mempool_dequeue_tdequeue
       Dequeue an object.

       Definition at line 697 of file rte_mempool.h.

   rte_mempool_get_countget_count
       Get qty of available objs.

       Definition at line 698 of file rte_mempool.h.

   rte_mempool_calc_mem_size_tcalc_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_tpopulate
       Optional callback to populate mempool objects using provided memory chunk.

       Definition at line 708 of file rte_mempool.h.

   rte_mempool_get_info_tget_info
       Get mempool info

       Definition at line 712 of file rte_mempool.h.

   rte_mempool_dequeue_contig_blocks_tdequeue_contig_blocks
       Dequeue a number of contiguous object blocks.

       Definition at line 716 of file rte_mempool.h.

Name

       rte_mempool_ops

Synopsis

       #include <rte_mempool.h>

   DataFields
       char name [RTE_MEMPOOL_OPS_NAMESIZE]
       rte_mempool_alloc_tallocrte_mempool_free_tfreerte_mempool_enqueue_tenqueuerte_mempool_dequeue_tdequeuerte_mempool_get_countget_countrte_mempool_calc_mem_size_tcalc_mem_sizerte_mempool_populate_tpopulaterte_mempool_get_info_tget_inforte_mempool_dequeue_contig_blocks_tdequeue_contig_blocks

See Also