charname[RTE_MEMPOOL_NAMESIZE]
Name of mempool.
Definition at line 231 of file rte_mempool.h.
void*pool_data
Ring or pool to store objects.
Definition at line 233 of file rte_mempool.h.
uint64_tpool_id
External mempool identifier.
Definition at line 234 of file rte_mempool.h.
void*pool_config
optional args for ops alloc.
Definition at line 236 of file rte_mempool.h.
conststructrte_memzone*mz
Memzone where pool is alloc'd.
Definition at line 237 of file rte_mempool.h.
unsignedintflags
Flags of the mempool.
Definition at line 238 of file rte_mempool.h.
intsocket_id
Socket id passed at create.
Definition at line 239 of file rte_mempool.h.
uint32_tsize
Max size of the mempool.
Definition at line 240 of file rte_mempool.h.
uint32_tcache_size
Size of per-lcore default local cache.
Definition at line 241 of file rte_mempool.h.
uint32_telt_size
Size of an element.
Definition at line 244 of file rte_mempool.h.
uint32_theader_size
Size of header (before elt).
Definition at line 245 of file rte_mempool.h.
uint32_ttrailer_size
Size of trailer (after elt).
Definition at line 246 of file rte_mempool.h.
unsignedprivate_data_size
Size of private data.
Definition at line 248 of file rte_mempool.h.
int32_tops_index
Index into rte_mempool_ops_table array of mempool ops structs, which contain callback function pointers.
We're using an index here rather than pointers to the callbacks to facilitate any secondary processes
that may want to use this mempool.
Definition at line 256 of file rte_mempool.h.
structrte_mempool_cache*local_cache
Per-lcore local cache
Definition at line 258 of file rte_mempool.h.
uint32_tpopulated_size
Number of populated objects.
Definition at line 260 of file rte_mempool.h.
structrte_mempool_objhdr_listelt_list
List of objects in pool
Definition at line 261 of file rte_mempool.h.
uint32_tnb_mem_chunks
Number of memory chunks
Definition at line 262 of file rte_mempool.h.
structrte_mempool_memhdr_listmem_list
List of memory chunks
Definition at line 263 of file rte_mempool.h.