![]() |
PDK API Guide for J721E
|
Fixed size buffer pool.
Data Fields | |
uint32_t | poolId |
int32_t | lastFreed |
int32_t | lastAlloc |
uint32_t | magic |
uint32_t | maxSize |
uint32_t | numBufGet |
uint32_t | numBufFree |
uint32_t | numBufGetErr |
BufPool_Buf | buf_array [BUFPOOL_BUF_MAX] |
uint32_t BufPool_Pool::poolId |
Pool ID
int32_t BufPool_Pool::lastFreed |
Pointer to the last freed buffer
int32_t BufPool_Pool::lastAlloc |
Pointer to the last allocated buffer
uint32_t BufPool_Pool::magic |
Magic number used to check pool initialization
uint32_t BufPool_Pool::maxSize |
Maximum no of buffers in the pool (fixed)
uint32_t BufPool_Pool::numBufGet |
Number of successful buffer get operations on this buffer pool
uint32_t BufPool_Pool::numBufFree |
Number of successful buffer free operations on this buffer pool
uint32_t BufPool_Pool::numBufGetErr |
Number of times a buffer get from this buffer pool failed
BufPool_Buf BufPool_Pool::buf_array[BUFPOOL_BUF_MAX] |
Contiguous array of BufPool_Buf objects