qla2x00_sns_gid_pt(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… qla2x00_sns_gid_pt ✨ the SNS fabric-friend-finder ✨

okay so bestie, you're looking at qla2x00_sns_gid_pt β€” yes that's the whole name, and yes you will be typing it correctly the first time because I believe in you 🫢 this is a Kernel API Manual page and it's lowkey iconic, let's get into it.


🌸 NAME 🌸

qla2x00_sns_gid_pt β€” SNS scan for fabric devices via GID_PT command.

like, it goes and asks the fabric "hey who's out there" using the GID_PT command, and then it writes down everybody it finds. no cap. πŸ’…


⭐ SYNOPSIS ⭐

int qla2x00_sns_gid_pt (scsi_qla_host_t *vha , sw_info_t *list );

that's it, that's the whole vibe check. returns an int, takes two pointers, slays. ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • vha β€” HA context. the host adapter's whole situation, its context, its little world. πŸ¦‹
  • list β€” switch info entries to populate. this is the list you're filling up with the fabric devices you found, so it comes back all cute and populated instead of empty. πŸ’–

πŸ”₯ DESCRIPTION πŸ”₯

not me about to explain this in one sentence: this command uses the old Execute SNS Command mailbox routine. that's the legacy one, the vintage one, the one with main character energy from an earlier era of the driver. πŸ•°οΈβœ¨

and yeah the original page literally spells it "Exectute" β€” we don't fix, we don't merge, we don't invent, we just report. periodt. πŸ’…

so the flow is: you call it with your vha and your list, it does its SNS scan via GID_PT, and your list gets populated with switch info entries. iconic behaviour, no notes. πŸ‘‘


🫢 NOTE 🫢

bestie listen β€” Non-Nx_Ports are not requested. that's a whole category that just doesn't get asked for. not requested, not on the guest list, not in the group chat. πŸ’€

and the return value: Returns 0 on success. that's the good ending. 🌈


🧚 SEE ALSO 🧚

kernel file: ./drivers/scsi/qla2xxx/qla_gs.c β€” that's where the source lives, go say hi πŸ‘‹

and now the full bestie roll call, because every single one of these has to be here and I would never do them dirty by skipping any 😀:

see? all 29 of them. not a single one left on read. πŸ“


okay that's the whole page, mwah πŸ’‹ β€” this little beauty comes from ./drivers/scsi/qla2xxx, dated October 2026, and it's filed under qla2x00_sns_gid_pt(9) in case you need to find it again. go forth and scan those fabric devices, bestie. slay. πŸ‘‘πŸ’–

πŸ“¦ where this page comes from