lpfc_read_nv(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to lpfc_read_nv(9) from the Kernel API Manual β€” this is the page where we prep a mailbox command for reading the HBA's NVRAM param, and honestly it's giving quiet-but-iconic kernel energy πŸ’…

🌸 NAME 🌸

lpfc_read_nv β€” Prepare a mailbox command for reading HBA's NVRAM param. That's the whole vibe: prep the mailbox command, read the NVRAM param, slay. ✨

πŸŽ€ SYNOPSIS πŸŽ€

void lpfc_read_nv (struct lpfc_hba * phba , LPFC_MBOXQ_t * pmb );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • phba β€” pointer to lpfc hba data structure. Your HBA bestie, basically 🫢
  • pmb β€” pointer to the driver internal queue element for mailbox command. The little queue-element main character for this mailbox moment πŸ’–

πŸ’– DESCRIPTION πŸ’–

Okay so the read NVRAM mailbox command returns the HBA's non-volatile parameters that are used as defaults when the Fibre Channel link is brought on-line. Periodt. πŸ”₯

This routine prepares the mailbox command for reading information stored in the HBA's NVRAM. Specifically, the HBA's WWNN and WWPN β€” yes, those iconic IDs, iykyk πŸ‘‘βœ¨

🌈 SEE ALSO 🌈

Kernel file ./drivers/scsi/lpfc/lpfc_mbox.c β€” the exact path, bestie, no cap. And here's the full function roll call, all in their original order:

xoxo, your fave kernel page πŸ’œ β€” source/version info is ./drivers/scsi/lpfc, date stamped October 2026, and the manual tag is lpfc_read_nv(9). Byeee 🫢

πŸ“¦ where this page comes from