tb_switch_configure_link(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

hiii bestie πŸ’– welcome to the tb_switch_configure_link(9) page from the Kernel API Manual ✨ this is giving β€œlink configured” main character energy, and we're gonna make it make sense, no cap.

🌸 NAME 🌸

tb_switch_configure_link β€” Set link configured πŸ’…

⭐ SYNOPSIS ⭐

okay so the whole signature is literally this:

int tb_switch_configure_link (struct tb_switch *sw );

πŸŽ€ ARGUMENTS πŸŽ€

  • sw β€” the switch whose link is configured 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so this one sets the link upstream from sw configured β€” from both ends β€” so that it will not be disconnected when the domain exits sleep 😴✨. It can be called for any switch, periodt. No gatekeeping.

It is recommended that this is called after lane bonding is enabled β€” like, do the lane bonding thing first, bestie πŸ’….

πŸ”₯ RETURN πŸ”₯

0 on success, and a negative errno otherwise 😭. That's the return vibe, fr fr.

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file: ./drivers/thunderbolt/switch.c πŸ’– and the whole squad is:

xoxo πŸ’– sourced from ./drivers/thunderbolt, dated October 2026, page tb_switch_configure_link(9) β€” bye bestie πŸŽ€βœ¨

πŸ“¦ where this page comes from