Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

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 []
 

Detailed Description

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.

Field Documentation

◆ data

uint8_t spsc_pbuf_ext_cache::data[]

◆ reserved

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))]

◆ wr_idx

uint32_t spsc_pbuf_ext_cache::wr_idx

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