tb_ring_poll_complete(9)
π tb_ring_poll_complete(9) β the Kernel API Manual, but make it cute
okay so bestie, welcome to the tb_ring_poll_complete page π this is one of those little kernel functions that's short but lowkey iconic. it's giving "tiny function, big job" energy, fr fr.
β¨ NAME β¨
tb_ring_poll_complete β re-start the interrupt for the ring π
like, the whole vibe of this one is "okay we're done polling, wake the interrupt back up." slay.
πΈ SYNOPSIS πΈ
void tb_ring_poll_complete (struct tb_ring *ring );
yep, that's it. one argument, returns nothing (void), and it's literally just vibing there in the kernel tree waiting for you to call it π¦
π§ ARGUMENTS π§
ringβ the ring you wanna re-start the interrupt for π like, which ring are we unmasking here, bestie? this one. this is the one.
π« DESCRIPTION π«
so here's the tea β β this function re-starts (aka unmasks β¨) the ring interrupt once the user is done with polling.
that's it. that's the whole thing. no cap. you polled, you're done, now you hand the interrupt its crown back and let it do its thing again ππ
ngl the parenthetical is doing a lot of work here: re-start = unmask. same energy, different word. iykyk π€«
π₯ SEE ALSO π₯
okay so this is the part where we shout out the whole friend group π«Ά all of these live in the kernel file ./drivers/thunderbolt/nhi.c and they're all absolutely part of the lore:
tb_ring_poll(9)β the main character that pairs with this one πtb_ring_alloc_tx(9)tb_ring_alloc_rx(9)tb_ring_start(9)tb_ring_flush(9)tb_ring_stop(9)tb_ring_throttling(9)nhi_mailbox_cmd(9)nhi_mailbox_mode(9)
go read them. all of them. it's a whole saga πβ
π sign-off π
this page lives in ./drivers/thunderbolt, dated October 2026 β so yes, it's future-dated, and yes, it ate. 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