|
DPDK 26.07.0-rc1
|
#include <rte_mempool.h>
Data Fields | |
| uint32_t | size |
| uint32_t | flushthresh |
| uint32_t | len |
| void * | objs [RTE_MEMPOOL_CACHE_MAX_SIZE *2] |
A structure that stores a per-core object cache.
Definition at line 90 of file rte_mempool.h.
| uint32_t size |
Size of the cache
Definition at line 91 of file rte_mempool.h.
| uint32_t flushthresh |
Obsolete; for API/ABI compatibility purposes only
Definition at line 92 of file rte_mempool.h.
| uint32_t len |
Current cache count
Definition at line 93 of file rte_mempool.h.
| void* objs[RTE_MEMPOOL_CACHE_MAX_SIZE *2] |
Cache objects
Note: Cache is allocated at double size for API/ABI compatibility purposes only. When reducing its size at an API/ABI breaking release, remember to add a cache guard after it.
Definition at line 115 of file rte_mempool.h.