mpt3sas_transport_port_add(9)
π NAME π
mpt3sas_transport_port_add β insert port to the list.
okay bestie, this is mpt3sas_transport_port_add(9) from the Kernel API Manual, and it is literally here to insert a port to the list. no cap.
β¨ SYNOPSIS β¨
struct _sas_port * mpt3sas_transport_port_add (struct MPT3SAS_ADAPTER
*ioc , u16 handle , u64 sas_address , struct hba_port *hba_port );
π«Ά ARGUMENTS π«Ά
iocβ per adapter object. that's the adapter's whole vibe, basically.handleβ handle of attached device. yes, the attached device's handle, periodt.sas_addressβ sas address of parent expander or sas host. so either the parent expander or the sas host β that's the address.hba_portβ hba port entry. the hba port entry, exactly.
π CONTEXT π
heads up, bestie: this function will acquire ioc->sas_node_lock. so yeah, it grabs that lock. not me forgetting to warn you π
πΈ DESCRIPTION πΈ
Adding new port object to the sas_node->sas_port_list. that's the whole little mission β new port object goes into that list.
π RETURN π
it hands you back mpt3sas_port. iconic return value behavior, honestly.
π SEE ALSO π
- 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_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_phy_speed(9)_transport_smp_handler(9)
kisses bestie π«Ά this page came from ./drivers/scsi/mpt3sas, dated October 2026, and it's mpt3sas_transport_port_add(9) β byeee πβ¨
π¦ 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