.TH "rte_mempool_cache" 3 "Version 25.11.0" "DPDK" \" -*- nroff -*-
.ad l
.nh
.SH NAME
rte_mempool_cache
.SH SYNOPSIS
.br
.PP
.PP
\fR#include <rte_mempool\&.h>\fP
.SS "Data Fields"

.in +1c
.ti -1c
.RI "uint32_t \fBsize\fP"
.br
.ti -1c
.RI "uint32_t \fBflushthresh\fP"
.br
.ti -1c
.RI "uint32_t \fBlen\fP"
.br
.ti -1c
.RI "void * \fBobjs\fP [RTE_MEMPOOL_CACHE_MAX_SIZE *2]"
.br
.in -1c
.SH "Detailed Description"
.PP 
A structure that stores a per-core object cache\&. 
.PP
Definition at line \fB90\fP of file \fBrte_mempool\&.h\fP\&.
.SH "Field Documentation"
.PP 
.SS "uint32_t size"
Size of the cache 
.PP
Definition at line \fB91\fP of file \fBrte_mempool\&.h\fP\&.
.SS "uint32_t flushthresh"
Threshold before we flush excess elements 
.PP
Definition at line \fB92\fP of file \fBrte_mempool\&.h\fP\&.
.SS "uint32_t len"
Current cache count 
.PP
Definition at line \fB93\fP of file \fBrte_mempool\&.h\fP\&.
.SS "void* objs[RTE_MEMPOOL_CACHE_MAX_SIZE *2]"
Cache objects

.PP
Cache is allocated to this size to allow it to overflow in certain cases to avoid needless emptying of cache\&. 
.PP
Definition at line \fB113\fP of file \fBrte_mempool\&.h\fP\&.

.SH "Author"
.PP 
Generated automatically by Doxygen for DPDK from the source code\&.
