usb4_usb3_po...ax_link_rate(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, we're deep in the Kernel API Manual today β€” this is a (9) page, which literally means kernel-internals territory, so put on your reading glasses πŸŽ€. This one's all about usb4_usb3_port_max_link_rate, and ngl it's a short one but it's iconic.


πŸ’– NAME πŸ’–

usb4_usb3_port_max_link_rate β€” Maximum supported USB3 link rate

like, it tells you the fastest that USB3 adapter can vibe at. no cap.


🌸 SYNOPSIS 🌸

int usb4_usb3_port_max_link_rate (struct tb_port *port );

mmhm. one function, one argument, returns an int. clean. minimal. main character energy πŸ‘‘


πŸ¦‹ ARGUMENTS πŸ¦‹

  • port β€” the USB3 adapter port, bestie. that's the one you're asking about 🫢

πŸ”₯ RETURN πŸ”₯

So here's the tea: you get back the maximum supported link rate of a USB3 adapter in Mb/s. megabit-per-second, not megabyte, don't come for me πŸ’…

And if something goes sideways? You get a negative errno instead. it's giving "error, but make it an integer" 😭


πŸŽ€ SEE ALSO πŸŽ€

okay this is the part where the page just absolutely GOES OFF β€” the kernel file ./drivers/thunderbolt/usb4.c is the home of all of this, and there are so many siblings it's basically a whole family reunion. scroll responsibly πŸ’€


πŸ’œ lowkey a whole ecosystem in here. every one of those is a real (9) page β€” go read them, i'll wait 🧚

okay that's the whole page bestie, we ate and left no crumbs 🌈 this absolute gem lives in ./drivers/thunderbolt, and the source/version tag is October 2026 β€” so like, future vibes fr fr. bye pookie, go forth and query those link rates πŸ’…βœ¨πŸ“

πŸ“¦ where this page comes from