~/talk

Zephyr Network Buffers

links:none on file
slides:none on file

History and concrete design notes for Zephyr’s network buffer subsystem: it defines payload as length and container as size, uses a data pointer plus storage, and manipulates state with push/pull and add/remove; implementations include net_buf_simple and full net_buf, fixed and heap-backed pools, fragment chains, and pool metadata. Common failures are reference-counting and FIFO ownership mistakes; Zephyr 4.5 adds atomic take/drop and refcount hardening. Tools include pool profiling (get_available/get_max_used) and runtime hardening; changing uint16 fields to uint32 is proposed.

AI-written summary · about

  1. 0:00Introduction to Zephyr network buffers
  2. 1:06Origins and design goals
  3. 8:52Terminology and data model
  4. 12:01Net buff simple variant
  5. 14:08Buffer pools and allocation
  6. 15:32Reference counting fundamentals
  7. 19:24Common mistakes and best practices
  8. 23:59Thread safety and SMP considerations
  9. 27:10Pool design and monitoring
  10. 29:14Recent enhancements in Zephyr 4.x
  11. 31:44Future improvements and proposals
  12. 33:36Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.