CNDP  22.08.0
mempool_cache Struct Reference

#include <mempool_private.h>

Data Fields

uint32_t size
 
uint32_t flushthresh
 
uint32_t len
 
void * objs [MEMPOOL_CACHE_MAX_SIZE *3]
 

Detailed Description

A structure that stores a per-thread object cache. The CNE mempool_cache structure.

Definition at line 53 of file mempool_private.h.

Field Documentation

◆ size

uint32_t size

Size of the cache

Definition at line 54 of file mempool_private.h.

◆ flushthresh

uint32_t flushthresh

Threshold before we flush excess elements

Definition at line 55 of file mempool_private.h.

◆ len

uint32_t len

Current cache count

Definition at line 56 of file mempool_private.h.

◆ objs

void* objs[MEMPOOL_CACHE_MAX_SIZE *3]

Cache objects

Definition at line 61 of file mempool_private.h.


The documentation for this struct was generated from the following file: