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_cache

Author

       Generated automatically by Doxygen for DPDK from the source code.

DPDK                                             Version 24.11.2                            rte_mempool_cache(3)

Detailed Description

       A structure that stores a per-core object cache.

       Definition at line 90 of file rte_mempool.h.

Field Documentation

uint32_tsize
       Size of the cache

       Definition at line 91 of file rte_mempool.h.

   uint32_tflushthresh
       Threshold before we flush excess elements

       Definition at line 92 of file rte_mempool.h.

   uint32_tlen
       Current cache count

       Definition at line 93 of file rte_mempool.h.

   void*objs[RTE_MEMPOOL_CACHE_MAX_SIZE*2]
       Cache objects

       Cache is allocated to this size to allow it to overflow in certain cases to avoid needless emptying of
       cache.

       Definition at line 113 of file rte_mempool.h.

Name

       rte_mempool_cache

Synopsis

       #include <rte_mempool.h>

   DataFields
       uint32_t size
       uint32_t flushthresh
       uint32_t len
       void * objs [RTE_MEMPOOL_CACHE_MAX_SIZE *2]

See Also