usb4_dp_port_group_id(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… usb4_dp_port_group_id(9) πŸ’…

okay so buckle up bestie, we're in the Kernel API Manual today and this page is literally called usb4_dp_port_group_id(9) β€” yes that's a whole mouthful, no I will not be shortening it, it's iconic as is πŸŽ€


✨ NAME ✨

usb4_dp_port_group_id β€” returns the Group ID that's been assigned for the adapter 🫢


🌸 SYNOPSIS 🌸

int usb4_dp_port_group_id (struct tb_port *port );

like, that's the whole signature, keep it sacred, don't touch it πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • port β€” the DP IN adapter, bestie. that's the one we're reading from ✨

πŸ’– DESCRIPTION πŸ’–

so what it does is it reads the bandwidth allocation Group ID straight off the DP IN adapter and hands it right back to you. that's it. that's the function. lowkey serves πŸ’…


⭐ RETURN ⭐

  • the Group ID assigned to the adapter port πŸ‘‘
  • -EOPNOTSUPP β€” if the adapter does not support setting GROUP_ID πŸ™ˆ (yeah, some of them just don't, it's giving limited edition)
  • Negative errno β€” for any other error that happened along the way πŸ’€

🧚 SEE ALSO 🧚

Kernel file ./drivers/thunderbolt/usb4.c β€” and honestly the whole friend group showed up, so here's everyone, no cap:


ngl bestie, usb4_dp_port_set_group_id(9) is literally right there next to it and seems like the obvious sibling β€” iykyk πŸ§šβ€β™€οΈ

and that's the page!! πŸŽ€ dropped by the source tree at ./drivers/thunderbolt, dated October 2026, and honestly? iconic run, no notes πŸ’œβœ¨ periodt.

πŸ“¦ where this page comes from