tb_tunnel_activate(9)
β¨ NAME β¨
okay so this is tb_tunnel_activate (from the Kernel API Manual, bestie, we're in the kernel docs now π
) β it activates a tunnel. that's it. that's the whole vibe. it wakes the tunnel up and tells it to go be a tunnel π¦
πΈ SYNOPSIS πΈ
int tb_tunnel_activate (struct tb_tunnel *tunnel );
like literally one function, one argument, returns an int, no cap β¨
π ARGUMENTS π
tunnelβ the tunnel you want to activate. the main character. you hand it over and it gets activated π«Ά
π RETURN π
so here's what you might get back, and yes you gotta check it:
0β on success π slay, the tunnel is activated, we love to see it-EINPROGRESSβ if the tunnel activation is still in progress. and before you panic, that's specifically for DP tunnels to complete the DPRX capabilities read π so it's not a fail, it's a "girl give it a sec" π- Negative errno β another error occurred π something else went wrong, negative errno is your sign to go look
ngl if you get -EINPROGRESS don't just sit there assuming it worked β that's the "still loading" of the kernel world bestie, keep an eye on it π
π¦ SEE ALSO π¦
the whole friend group, all of them, in the kernel file ./drivers/thunderbolt/tunnel.c:
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_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)tb_tunnel_reclaim_available_bandwidth(9)
and that's the page bb π lived in ./drivers/thunderbolt, dropped October 2026, and we are obsessed with her πβ¨ go activate ur tunnels responsibly π§
π¦ 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