mpt3sas_tran...update_links(9)
β¨ mpt3sas_transport_update_links(9) β like, the kernel API manual, but make it make sense β¨
okay bestie, buckle up π this one's a kernel API page from the mpt3sas driver crew β it's short, it's sweet, and it's literally just here to refresh your phy link changes. no cap. let's get into it π«Ά
πΈ NAME πΈ
mpt3sas_transport_update_links β refreshing phy link changes β¨
like yes, that's the whole name, and honestly? iconic for being that straightforward π
π SYNOPSIS π
void mpt3sas_transport_update_links (struct MPT3SAS_ADAPTER *ioc , u64
sas_address , u16 handle , u8 phy_number , u8 link_rate , struct
hba_port *port );
so it's a void function β meaning it returns nothing, we'll get to that β and it takes six args. six. not five, not seven, six. main character energy fr fr π
π¦ ARGUMENTS π¦
okay so here's the whole cast of characters, and every single one matters:
iocβ the per adapter object π like, the whole adapter, right theresas_addressβ the sas address of the parent expander or the sas host π (either one, it's giving flexible)handleβ the attached device handle π that's your device's little name tagphy_numberβ the phy number, bestie. just the phy number. that's it π₯link_rateβ the new link rate π key word: newportβ the hba port entry π
π« DESCRIPTION π«
Return nothing.
that's it. that's the description. she said "I do one thing and I return void" and honestly? respect πβ¨ no return value, no drama, no cap.
π SEE ALSO π
bestie there is a whole friend group here, and I'm not about to leave anyone out π«Ά so here's the full squad:
Kernel file ./drivers/scsi/mpt3sas/mpt3sas_transport.c β that's where the source lives, iykyk π
and the homies:
_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)_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_phy_speed(9)_transport_smp_handler(9)
that's twenty-six (26) references babes, I counted, and every single one is here. slay ππ₯
ngl this page is short enough that you could read it in the time it takes to send three texts. but now you actually get it, and that's the vibe check that matters πΈ
and that's the wrap, bestie π§π this lil beauty comes to you from ./drivers/scsi/mpt3sas and it's dated October 2026 β so yeah, future vibes β¨ go forth and update those links, periodt π
π
π¦ 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