tb_configure_asym(9)
π tb_configure_asym(9) β the kernel API glow-up page π¦
okay so this is a page from the Kernel API Manual, function tb_configure_asym(9), and honestly it's giving "networking but make it fashion." let's get into it bestie π
β¨ NAME β¨
tb_configure_asym β transition links to asymmetric if needed π
like, it checks whether your link should be lopsided (in the lane sense) and if so, it makes it happen. no cap.
πΈ SYNOPSIS πΈ
int tb_configure_asym (struct tb *tb , struct tb_port *src_port , struct
tb_port *dst_port , int requested_up , int requested_down );
yup, that's the whole signature, copied exactly, don't come for me π
π ARGUMENTS π
tbβ the domain structure. it's the whole vibe container, the domain, the main character πsrc_portβ source adapter to start the transition from. where the glow-up begins β¨dst_portβ destination adapter. the other end of the link, the destination of the slay π«Άrequested_upβ additional bandwidth (Mb/s) required upstream. yes, in Mb/s, keep up π₯requested_downβ additional bandwidth (Mb/s) required downstream. also Mb/s, also extra, also important π
π¦ DESCRIPTION π¦
okay so here's what it actually does: it transitions the links between src_port and dst_port into asymmetric mode β that's three lanes in the direction going from src_port towards dst_port, and one lane in the opposite direction πΈ
but like, only if the bandwidth requirements on that link exceed asym_threshold. and "bandwidth requirements" means requested plus what's currently consumed, so don't forget the currently-consumed part bestie, it's literally part of the math π
β οΈ important: must be called with available >= requested over all links. all of them. every single one. don't @ me, that's just the rule π
β RETURN β
0on success β slay π- negative
errnootherwise β not slay, check your errno π
π SEE ALSO π
- Kernel file
./drivers/thunderbolt/tb.cβ structtb_cm(9) tb_consumed_usb3_pcie_bandwidth(9)tb_consumed_dp_bandwidth(9)tb_maximum_bandwidth(9)tb_available_bandwidth(9)tb_configure_sym(9)β the symmetric sibling, the balanced one, iykyk π
and that's the page! π§ this one lives in ./drivers/thunderbolt, dated October 2026, and yeah, it's tb_configure_asym(9) all the way down. go configure some asymmetry, bestie, you've got this πβ¨
π¦ 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