tb_tunnel_r...le_bandwidth(9)
π tb_tunnel_r...le_bandwidth(9) β Kernel API Manual, but make it make sense
okay so real talk, this is a page from the Kernel API Manual and the star of the show is tb_tunnel_reclaim_available_bandwidth. yes the title got squished to tb_tunnel_r...le_bandwidth(9) and no, that's not a typo, that's just how the man page header rolls. we move. π«Ά
β¨ NAME β¨
tb_tunnel_reclaim_available_bandwidth β Reclaim available bandwidth
like, literally the whole personality is in the name bestie. it reclaims available bandwidth. that's the vibe. π¦
πΈ SYNOPSIS πΈ
void tb_tunnel_reclaim_available_bandwidth (struct tb_tunnel *tunnel ,
int *available_up , int *available_down );
it returns void β meaning it hands you nothing back directly, it just does the thing and edits your variables in place. sneaky but iconic. π
π ARGUMENTS π
tunnelβ the tunnel that's out here reclaiming available bandwidth. main character energy, honestly. π₯available_upβ available upstream bandwidth, measured in Mb/s. yes, megabits per second, keep up. βavailable_downβ available downstream bandwidth, also in Mb/s. matching set, slay. π
π DESCRIPTION π
so what actually happens? it reclaims bandwidth from available_up and available_down and updates the variables accordingly β like, for example, it decreases both of them according to what was reclaimed by the tunnel. the way it just... adjusts your numbers for you. π
and if nothing was reclaimed? the values are kept as is. no notes, no changes, no drama. the numbers stay exactly where they were. periodt. β¨
ngl this is the "updates in place" kind of function, so if you were expecting a return value, bestie... there isn't one. watch your pointers. π
π SEE ALSO π
the whole friend group, in order, no cap β Kernel file ./drivers/thunderbolt/tunnel.c, plus:
tb_available_credits(9)tb_tunnel_event(9)tb_tunnel_discover_pci(9)tb_tunnel_alloc_pci(9)tb_tunnel_reserved_pci(9)tb_dp_bandwidth_mode_maximum_bandwidth(9)tb_tunnel_discover_dp(9)tb_tunnel_alloc_dp(9)tb_tunnel_alloc_dma(9)tb_tunnel_match_dma(9)tb_tunnel_discover_usb3(9)tb_tunnel_alloc_usb3(9)tb_tunnel_is_invalid(9)tb_tunnel_activate(9)tb_tunnel_deactivate(9)tb_tunnel_port_on_path(9)tb_tunnel_maximum_bandwidth(9)tb_tunnel_allocated_bandwidth(9)tb_tunnel_alloc_bandwidth(9)tb_tunnel_consumed_bandwidth(9)tb_tunnel_release_unused_bandwidth(9)
go read them all, iykyk. π
okay and finally, the credits moment because we respect the source: this beauty lives under ./drivers/thunderbolt, dated October 2026, and the manual name is tb_tunnel_r...le_bandwidth(9) π β that's a wrap, mwah, bye bestie! ππ§
π¦ 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