qla2x00_sns_ga_nxt(9)
π qla2x00_sns_ga_nxt β bestie's guide to scanning the fabric β¨
okay so this is a Kernel API Manual page, section 9, and it's all about qla2x00_sns_ga_nxt β the SNS scan for fabric devices via the GA_NXT command. yes that's a lot of letters, we'll get through it together π«Ά
πΈ SYNOPSIS πΈ
int qla2x00_sns_ga_nxt (scsi_qla_host_t *vha , fc_port_t *fcport );
that's it. that's the whole vibe. one function, two pointers, and it hands you back an int. π
π ARGUMENTS π
vhaβ the HA context. your host adapter's whole personality, basically. main character energy for the HBA πfcportβ the fcport entry that's getting updated. it goes in, it comes back fresher. glow-up arc fr fr π«
π¦ DESCRIPTION π¦
so what does it do? it scans for fabric devices using the GA_NXT command, and ngl it's kind of old-school β this command uses the old Execute SNS Command mailbox routine. vintage. iconic. slightly retro but we respect it π
it returns 0 on success. that's the whole return contract, no cap. β¨
π₯ SEE ALSO π₯
the friend group. the whole squad. every single one of them, no skips:
qla2x00_prep_ms_iocb(9)qla24xx_prep_ms_iocb(9)qla2x00_prep_ct_req(9)qla2x00_ga_nxt(9)qla2x00_gid_pt(9)qla2x00_gpn_id(9)qla2x00_gnn_id(9)qla2x00_rft_id(9)qla2x00_rff_id(9)qla2x00_rnn_id(9)qla2x00_rsnn_nn(9)qla2x00_prep_sns_cmd(9)qla2x00_sns_gid_pt(9)qla2x00_sns_gpn_id(9)qla2x00_sns_gnn_id(9)qla2x00_sns_rft_id(9)qla2x00_sns_rnn_id(9)qla2x00_mgmt_svr_login(9)qla2x00_prep_ms_fdmi_iocb(9)qla24xx_prep_ms_fdmi_iocb(9)qla2x00_prep_ct_fdmi_req(9)qla2x00_hba_attributes(9)qla2x00_port_attributes(9)qla2x00_fdmi_rhba(9)qla2x00_fdmi_rprt(9)qla2x00_fdmi_rpa(9)qla2x00_fdmi_register(9)qla2x00_gfpn_id(9)qla2x00_gff_id(9)
and also, kernel file check π
β this lives over in ./drivers/scsi/qla2xxx/qla_gs.c, so if you're going looking, that's where the source is at. iykyk π§
π reminder bestie: 0 on success. that's the only return value the page promises, so don't go inventing others.
okay that's the whole page, mwah π β sourced from ./drivers/scsi/qla2xxx, dated October 2026. go forth and scan that fabric, you absolute legend ππ
π¦ 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