lpfc_nvmet_ls_req(9)
π lpfc_nvmet_ls_req(9) π
okay so this is a page from the Kernel API Manual bestie, and it's about lpfc_nvmet_ls_req β literally the function that issues a Link Service request β¨
πΈ NAME πΈ
lpfc_nvmet_ls_req β Issue an Link Service request π (yes, "an Link Service", the kernel said what it said, we respect the original grammar π)
π¦ SYNOPSIS π¦
int lpfc_nvmet_ls_req (struct nvmet_fc_target_port *targetport , void
*hosthandle , struct nvmefc_ls_req *pnvme_lsreq );
like, it returns an int, and it takes three things. that's the whole vibe check π«Ά
β¨ ARGUMENTS β¨
targetportβ pointer to the target instance that's registered with the nvmet transport. it's giving "who am i registered with" energy πhosthandleβ the hosthandle that the driver set in a priorls_rqst_rcv. and ngl the driver sets this value to the ndlp pointer, so that's what you're holding fr fr π―pnvme_lsreqβ the transportnvme_ls_reqstructure for the LS. this is the actual request package, the main character of the whole operation π
π DESCRIPTION π
so the driver registers this routine to handle any link service request coming from the nvme_fc transport over to a remote nvme-aware port. that's it, that's the job β it's the receptionist at the front desk of your NVMe target π§
Return value : 0 - Success, and non-zero means various error codes, in the form of -Exxx π so if you see a negative number, something went sideways, no cap.
π SEE ALSO π
the kernel file lives at ./drivers/scsi/lpfc/lpfc_nvmet.c β go read it if you're obsessed like me π
and here's the whole friend group, all of them, every single one π:
__lpfc_nvme_xmt_ls_rsp_cmp(9),lpfc_nvmet_xmt_ls_rsp_cmp(9)lpfc_nvmet_ctxbuf_post(9),lpfc_nvmet_xmt_fcp_op_cmp(9)__lpfc_nvme_xmt_ls_rsp(9),lpfc_nvmet_xmt_ls_rsp(9)lpfc_nvmet_ls_req_cmp(9),lpfc_nvmet_ls_abort(9)lpfc_sli4_nvmet_xri_aborted(9),lpfc_nvmet_handle_lsreq(9)lpfc_nvmet_unsol_fcp_buffer(9),lpfc_nvmet_unsol_fcp_event(9)lpfc_nvmet_prep_ls_wqe(9),lpfc_nvmet_sol_fcp_abort_cmp(9)lpfc_nvmet_unsol_fcp_abort_cmp(9),lpfc_nvmet_xmt_ls_abort_cmp(9)lpfc_nvme_unsol_ls_issue_abort(9),lpfc_nvmet_invalidate_host(9)
ok that's the whole page bestie, go forth and handle those link service requests π π₯
and that's a wrap π brought to you by the source directory ./drivers/scsi/lpfc, dated October 2026, and this icon's own name, lpfc_nvmet_ls_req(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