![]() |
PDK API Guide for J721E
|
Fixed size data buffer.
Data Fields | |
| uint8_t | payload [ETH_FRAME_SIZE] |
| uint16_t | payloadLen |
| int16_t | refCount |
| int16_t | isUsed |
| uint32_t | poolId |
| uint8_t | pad [8] |
| uint8_t BufPool_Buf::payload[ETH_FRAME_SIZE] |
Data buffer
| uint16_t BufPool_Buf::payloadLen |
Valid payload length
| int16_t BufPool_Buf::refCount |
Reference count: 0 means the buffer is free
| int16_t BufPool_Buf::isUsed |
Is buffer in use (1) or free (0)
| uint32_t BufPool_Buf::poolId |
Pool ID to which this buffer belongs
| uint8_t BufPool_Buf::pad[8] |
Padding to keep the buffer size 128 byte aligned