lpfc_nvme_create_localport(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

Hey bestie! Welcome to the lpfc_nvme_create_localport(9) page from the Kernel API Manual ✨ This one is all about creating/binding an nvme localport instance. That's the whole mood. πŸŽ€

🌸 SYNOPSIS 🌸

int lpfc_nvme_create_localport (struct lpfc_vport *vport );

🫢 ARGUMENTS 🫢

  • vport β€” the lpfc_vport instance requesting a localport. It's giving "please make me a localport" energy. πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so this routine is invoked to create an nvme localport instance to bind to the nvme_fc_transport. It's called once during driver load, like lpfc_create_shost, after all the other services are initialized. No cap. 🫢

At call time it requires a vport, vpi, and wwns. The other localport parameters get modified as the driver's FCID and the Fabric WWN are established. Slay, but those requirements are real, okay? 😭

Return codes, bestie:

  • 0 β€” successful. Iconic. ✨
  • -ENOMEM β€” no heap memory available. Not the vibe. πŸ’€
  • other values β€” from nvme registration upcall. iykyk. πŸ™ˆ

🌈 SEE ALSO 🌈

Kernel file ./drivers/scsi/lpfc/lpfc_nvme.c β€” and here's the whole friend group πŸ‘‘:

xoxo and good luck out there πŸ’…πŸ¦‹ β€” this page lives under ./drivers/scsi/lpfc, dated October 2026, and it's lpfc_nvme_create_localport(9), periodt.

πŸ“¦ where this page comes from