tb_port_set_lane_bonding(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… tb_port_set_lane_bonding(9) β€” a Kernel API Manual moment ✨

okay bestie, so this is the tb_port_set_lane_bonding(9) page from the Kernel API Manual, and it's honestly short but she's got range. let's get into it πŸŽ€


✨ NAME ✨

tb_port_set_lane_bonding β€” Enable/disable lane bonding

like, that's it, that's the whole vibe. toggling lane bonding on and off. πŸ’«


🌸 SYNOPSIS 🌸

int tb_port_set_lane_bonding (struct tb_port *port , bool bonding );

two args, one int coming back at you. no drama. πŸ¦‹


πŸŽ€ ARGUMENTS πŸŽ€

  • port β€” the lane adapter in question, aka the thing you're doing the bonding to πŸ‘‘
  • bonding β€” enable/disable bonding, literally just a bool, she's either on or off, no in-between πŸ’…

πŸ”₯ DESCRIPTION πŸ”₯

so what does she do? Enables or disables lane bonding. that's the assignment and she ate. πŸ“

but β€” and this is the important part, pay attention bestie β€” this should be called after the target link width has been set (tb_port_set_link_width). order matters, don't be out here calling things out of sequence, that's not the vibe. ⭐

πŸ“Œ also: in most cases one should use tb_port_lane_bonding_enable instead to enable lane bonding. like, this one works, but that's the one you probably actually want. iykyk πŸ’œ

🫢 RETURN 🫢

0 on success, negative errno otherwise. so if you get a negative number back, that's your sign, it's giving error, go check your errno. 😭


🌈 SEE ALSO 🌈

Kernel file ./drivers/thunderbolt/switch.c

and now the whole girlies, the full squad, the entire friend group, no cap:


okay that's the whole page, and she's living in ./drivers/thunderbolt, dated October 2026 🌸 thanks for coming to my ted talk, mwah πŸ’–πŸ§š

πŸ“¦ where this page comes from