lpfc_is_vmid_enabled(9)
π 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
- 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