tb_ring_throttling(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ tb_ring_throttling(9) ✨

okay so bestie, welcome to section 9 of the kernel API manual, and today's main character lives in ./drivers/thunderbolt β€” yes the Thunderbolt directory, we love her πŸ’…


πŸŽ€ NAME πŸŽ€

tb_ring_throttling β€” configure throttling for ring interrupt πŸ¦‹

⭐ SYNOPSIS ⭐

int tb_ring_throttling(struct tb_ring *ring, unsigned int interval_nsec);

🌸 ARGUMENTS 🌸

  • ring β€” the ring you wanna configure, periodt πŸ’–
  • interval_nsec β€” the interval counter for moderation, measured in ns, and 0 disables it entirely. like, zero means off, no cap πŸ™ˆ

πŸ”₯ DESCRIPTION πŸ”₯

So this one enables or disables ring interrupt throttling β€” literally that's the whole vibe check 🫢

⚠️ the ring must be stopped before you call this. not paused, not "kinda done", stopped. the way that it will not work otherwise 😭

Granularity is 256 ns. mmkay? that's the resolution you're working with, so don't come at her with 100 ns and expect precision πŸ’€

πŸ’œ RETURN πŸ’œ

  • 0 on success β€” slay, we ate πŸ‘‘
  • negative errno otherwise β€” not slay, something went sideways πŸ“

🌈 SEE ALSO 🌈

Kernel file ./drivers/thunderbolt/nhi.c, plus the whole friend group:


and that's the page, bestie ✨ sign-off time: this lil masterpiece comes from ./drivers/thunderbolt, dated October 2026, and it's filed under tb_ring_throttling(9). mwah πŸ’‹πŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from