Zephyr Project API 3.7.0
A Scalable Open Source RTOS
|
Remaining part of a packet buffer when cache is used. More...
#include <spsc_pbuf.h>
Data Fields | |
uint8_t | reserved [MAX(0, MAX(0, DT_PROP_OR(CPU, d_cache_line_size, 0)) -(int) sizeof(struct spsc_pbuf_common))] |
uint32_t | wr_idx |
uint8_t | data [] |
Remaining part of a packet buffer when cache is used.
It contains data that is only changed by the writer. A gap is added to ensure that it is in different cache line than the data changed by the reader.
uint8_t spsc_pbuf_ext_cache::data[] |
uint8_t spsc_pbuf_ext_cache::reserved[MAX(0, MAX(0, DT_PROP_OR(CPU, d_cache_line_size, 0)) -(int) sizeof(struct spsc_pbuf_common))] |
uint32_t spsc_pbuf_ext_cache::wr_idx |