_transport_phy_speed(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… _transport_phy_speed(9) β€” like, the kernel API manual page, but make it make sense

okay so bestie, this is _transport_phy_speed(9), straight out of the kernel API manual, and we're gonna get you comfy with it. it's giving "small function, big friend group" β€” she does one job and she does it cute. ✨


🌸 NAME 🌸

_transport_phy_speed β€” set phy min/max link rates. that's the whole vibe. she's setting the speed floor and the speed ceiling for a phy, no cap. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

int _transport_phy_speed (struct sas_phy *phy , struct sas_phy_linkrates
*rates );

look at her. returns an int, takes two pointers, and there's literally a space before that comma β€” copy it exactly, don't "fix" it, iykyk. πŸ’…


πŸ’– ARGUMENTS πŸ’–

  • phy β€” the sas phy object. this is the phy, the main character, the one you're messing with. 🫢
  • rates β€” the rates, as defined in sas_phy_linkrates. this is where your min/max link rate dreams live. ⭐

πŸ”₯ DESCRIPTION πŸ”₯

here's the tea, and it's a short one: this function only supports sas_host direct attached phys. that's it. that's the constraint. if you're not a sas_host direct attached phy, this is not your era, bestie, go find another function. πŸ™ˆ


✨ RETURN ✨

  • 0 β€” success! slay, it worked, we love to see it. πŸ‘‘
  • non-zero β€” failure. not the vibe. go debug. 😭

🌈 SEE ALSO 🌈

okay this list is long long, but every single one of these is invited to the group chat β€” no dropping a single member. πŸ“‹

that's twenty-six little friends plus the source file itself, and yes i counted, because you deserve accuracy. πŸ’―


quick vibe check: the only supported case here is sas_host direct attached phys. don't come at her with expander energy and expect results, bestie. 🚫

and that's the page!! πŸŽ€ this cutie came to you from ./drivers/scsi/mpt3sas (that's the source/version, mwah 😘), dated October 2026. go forth and set those min/max link rates, you absolute icon. πŸ¦‹πŸ’–βœ¨

πŸ“¦ where this page comes from