lpfc_nvme_create_localport(9)
π 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β thelpfc_vportinstance 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 π:
lpfc_nvme_create_queue(9)lpfc_nvme_delete_queue(9)lpfc_nvme_handle_lsreq(9)__lpfc_nvme_ls_req_cmp(9)__lpfc_nvme_ls_req(9)lpfc_nvme_ls_req(9)__lpfc_nvme_ls_abort(9)lpfc_nvme_ls_abort(9)lpfc_nvme_prep_io_cmd(9)lpfc_nvme_prep_io_dma(9)lpfc_nvme_fcp_io_submit(9)lpfc_nvme_abort_fcreq_cmpl(9)lpfc_nvme_fcp_abort(9)lpfc_release_nvme_buf(9)lpfc_nvme_destroy_localport(9)lpfc_sli4_nvme_pci_offline_aborted(9)lpfc_sli4_nvme_xri_aborted(9)lpfc_nvme_wait_for_io_drain(9)lpfc_nvme_flush_abts_list(9)lpfc_nvmels_flush_cmd(9)
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
- 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