forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib: os: spsc_pbuf: Extend API with zero copy model
Added functions which allow to use zero copy model for handling data within the packet buffer. Additionally, added handling of cache by adding option to keep rd_idx in different cache line than wr_idx and data. Signed-off-by: Krzysztof Chruscinski <[email protected]>
- Loading branch information
1 parent
3efce4c
commit fa055f7
Showing
4 changed files
with
374 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.