qla2x00_sns_gpn_id(9)
β¨ qla2x00_sns_gpn_id β the Kernel API Manual, section (9) β¨
Okay bestie, gather round, because we're reading a real kernel page today β qla2x00_sns_gpn_id(9), straight out of the Kernel API Manual. Yes, section (9). No, it's not a movie. It's better. π
πΈ NAME πΈ
qla2x00_sns_gpn_id β the SNS Get Port Name (GPN_ID) query. That's it, that's the whole name. Short, sweet, does exactly what it says on the tin. π
π¦ SYNOPSIS π¦
int qla2x00_sns_gpn_id (scsi_qla_host_t *vha , sw_info_t *list );
Look at that signature. Two args, returns an int. Iconic behavior, no notes. β¨
π ARGUMENTS π
vhaβ the HA context, aka the host adapter's whole situation. You're handing it over and trusting the vibes. π«Άlistβ the switch info entries you wanna populate. It's giving "fill me in, I need the tea." β
π DESCRIPTION π
So here's the deal, bestie: this command uses the old Exectute SNS Command mailbox routine. Like, the old one. Retro. Vintage. It has main character energy from a previous era. π°οΈ
And when it's done? It returns 0 on success. That's the whole success story. 0. Beautiful. No cap. π₯
Heads up: the page says nothing else about return values, so we're not gonna invent any. We report, we don't speculate. π
π SEE ALSO π
Everything here lives in the kernel file ./drivers/scsi/qla2xxx/qla_gs.c β that's the home base, the mothership, the group chat everyone's in. π
The prep-and-plumbing crew:
qla2x00_prep_ms_iocb(9)qla24xx_prep_ms_iocb(9)qla2x00_prep_ct_req(9)qla2x00_prep_sns_cmd(9)qla2x00_prep_ms_fdmi_iocb(9)qla24xx_prep_ms_fdmi_iocb(9)qla2x00_prep_ct_fdmi_req(9)
The g-name squad:
qla2x00_ga_nxt(9)qla2x00_gid_pt(9)qla2x00_gpn_id(9)qla2x00_gnn_id(9)qla2x00_gfpn_id(9)qla2x00_gff_id(9)qla2x00_sns_ga_nxt(9)qla2x00_sns_gid_pt(9)qla2x00_sns_gnn_id(9)
The register-y besties:
qla2x00_rft_id(9)qla2x00_rff_id(9)qla2x00_rnn_id(9)qla2x00_rsnn_nn(9)qla2x00_sns_rft_id(9)qla2x00_sns_rnn_id(9)
The management + FDMI icons:
qla2x00_mgmt_svr_login(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)
That's all 29 of them, every single one, accounted for. Obsessed with the completeness. π
And that's the page, bestie! π Source/version situation: this one comes from ./drivers/scsi/qla2xxx, dated October 2026. Bookmark it, screenshot it, tell your friends. 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