STRUCT TBSTREAM_FRAME(9)
π NAME π
struct tbstream_frame β Frame submitted to/from the rings
okay so real talk, bestie: this page is straight out of the Kernel API Manual, section 9, and it's about one little struct that gets its whole main-character moment shuttling frames to and from the rings. that's it, that's the vibe. π
β¨ SYNOPSIS β¨
struct tbstream_frame {
struct tbstream_dev *sdev;
struct page *page;
unsigned int offset;
bool completed;
struct ring_frame frame;
};
like, look at her. five fields. no notes. π
π«Ά Members π«Ά
sdevβ Pointer to the stream device. she's literally pointing at the stream device, that's her whole job π₯pageβ Page holding the packet. the packet lives here, this is its home πoffsetβ Offset inside page if partial read is done. iykyk, it's the "we only read part of it" situation πcompletedβtrueif the RX frame is completed.true!! we love a finished RX frame, no cap βframeβ Underlying frame structure. the frame under the frame, it's giving layers, it's giving onion π§
π SEE ALSO π
Kernel file ./drivers/thunderbolt/stream.c, plus the whole friend group:
enum tbstream_frame_pdf(9)struct tbstream_ring(9)struct tbstream_dev(9)struct tbstream_group(9)struct tbstream(9)
go read them, they all ate π β¨
lowkey important: every one of these is an actual reference, so fr fr don't skip them if you're digging through ./drivers/thunderbolt π¦
okay that's the whole page, bestie, you're officially caught up π«Ά this diva of a struct lives over in ./drivers/thunderbolt, the page is dated October 2026, and it's filed under struct tbstream_frame(9) β periodt. ππΈ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms