_transport_phy_speed(9)
π _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 insas_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. π
- Kernel file
./drivers/scsi/mpt3sas/mpt3sas_transport.c _transport_get_port_id_by_sas_phy(9)_transport_sas_node_find_by_sas_address(9)_transport_get_port_id_by_rphy(9)_transport_convert_phy_link_rate(9)_transport_set_identify(9)mpt3sas_transport_done(9)_transport_expander_report_manufacture(9)_transport_delete_port(9)_transport_delete_phy(9)_transport_add_phy(9)mpt3sas_transport_add_phy_to_an_existing_port(9)mpt3sas_transport_del_phy_from_an_existing_port(9)_transport_sanity_check(9)mpt3sas_transport_port_add(9)mpt3sas_transport_port_remove(9)mpt3sas_transport_add_host_phy(9)mpt3sas_transport_add_expander_phy(9)mpt3sas_transport_update_links(9)_transport_get_expander_phy_error_log(9)_transport_get_linkerrors(9)_transport_get_enclosure_identifier(9)_transport_get_bay_identifier(9)_transport_expander_phy_control(9)_transport_phy_reset(9)_transport_phy_enable(9)_transport_smp_handler(9)
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
- 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