lpfc_is_vmid_enabled(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… lpfc_is_vmid_enabled(9) β€” the Kernel API Manual moment

okay bestie, this is a page from the Kernel API Manual and it's literally about checking whether VMID is turned on for either switch type. tiny function, big "am I enabled or not" energy. let's get into it πŸŽ€


✨ NAME ✨

lpfc_is_vmid_enabled β€” returns if VMID is enabled for either switch types 🌸

✨ SYNOPSIS ✨

int lpfc_is_vmid_enabled (struct lpfc_hba *phba );

✨ ARGUMENTS ✨

  • phba β€” Pointer to HBA context object. that's the whole argument list, she's low maintenance 🫢

✨ DESCRIPTION ✨

so the manpage says this is all about the relationship between the enable, target support and if vmid tag is required for the particular combination. iykyk β€” it's giving lookup table, and honestly the table ate:

---------------------------------------------------
Switch    Enable Flag  Target Support  VMID Needed
---------------------------------------------------
App Id     0           NA              N
App Id     1           0               N
App Id     1           1               Y
Pr Tag     0           NA              N
Pr Tag     1           0               N
Pr Tag     1           1               Y
Pr Tag     2           *               Y
---------------------------------------------------

read it like a vibe check: switch type on the left, enable flag, then target support, and finally whether a VMID tag is actually needed. note the lil * sitting pretty in the Pr Tag / 2 row β€” that's exactly how the original has it, no cap, don't come for me πŸ’€

✨ RETURN ✨

returns whether VMID is enabled πŸ‘‘

✨ SEE ALSO ✨

kernel file ./drivers/scsi/lpfc/lpfc.h plus these iconic neighbors:


bestie heads up: the original DESCRIPTION block got wrapped all goofy in transit, so the table above is the same rows and same values just lined up so your eyes don't cry 😭 nothing added, nothing dropped πŸ’–

and that's the whole page fr fr πŸ¦‹ shoutout to ./drivers/scsi/lpfc, dated October 2026, home of lpfc_is_vmid_enabled(9) β€” periodt, go check your switch type πŸ’œβœ¨

πŸ“¦ where this page comes from