lpfc_nvme_ls_req(9)
π lpfc_nvme_ls_req(9) β from the Kernel API Manual, bestie π
okay so picture this: it's a kernel API manual page, it's called lpfc_nvme_ls_req, and it's literally the moment a link service request gets yeeted out the door. we're in ./drivers/scsi/lpfc territory. buckle up π¦
β¨ NAME β¨
lpfc_nvme_ls_req β Issue an NVME Link Service request π₯
like, that's the whole job. issuing it. iconic behavior only.
πΈ SYNOPSIS πΈ
int lpfc_nvme_ls_req (struct nvme_fc_local_port *pnvme_lport , struct
nvme_fc_remote_port *pnvme_rport , struct nvmefc_ls_req *pnvme_lsreq );
note the int return, bestie β this function does report back. no silent treatment here π
π ARGUMENTS π
pnvme_lportβ the transport localport that the LS is to be issued from. think of it as home base πpnvme_rportβ the transport remoteport that the LS is to be sent to. this is where the request is headed, no cap π¬pnvme_lsreqβ the transportnvme_ls_reqstructure for the LS. the actual request payload situation, the main character itself π
π DESCRIPTION π
So here's the vibe: the driver registers this routine to handle any link service request coming from the nvme_fc transport to a remote nvme-aware port. any. all of them. it's giving reliable friend energy fr fr π«Ά
And the return value, because you know we have to talk about the return value:
Return value:0β Success. non-zero: various error codes, in the form of-Exxxπ
so like β zero, slay, we did it. negative -Exxx? that's the kernel telling you something went sideways, and you should probably read the code. periodt.
π SEE ALSO π
Kernel file ./drivers/scsi/lpfc/lpfc_nvme.c plus this whole little family reunion of siblings, cousins, and distant relatives π:
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_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_create_localport(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)
ngl that's a lot of cross-references and I respect every single one of them π
ok bye bestie, go issue some link service requests responsibly πβ¨
and that's a wrap!! this page lives in ./drivers/scsi/lpfc, it's dated October 2026, and it will forever be known as lpfc_nvme_ls_req(9) β mwah ππ§ββοΈ
π¦ 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