lpfc_nvme_handle_lsreq(9)
β¨ NAME β¨
Okay bestie, welcome to lpfc_nvme_handle_lsreq(9) from the Kernel API Manual β this is the kernel routine that does Process an unsolicited NVME LS request π
. The name is literally giving exactly what it does, and we respect that main-character energy.
π SYNOPSIS π
int lpfc_nvme_handle_lsreq (struct lpfc_hba *phba , struct
lpfc_async_xchg_ctx *axchg );
π ARGUMENTS π
phbaβ pointer tolpfchba data structure. Itβs giving βhereβs the HBA context, bestieβ π«Ά.axchgβ pointer to exchange context for the NVME LS request. This is the requestβs little luggage, okay? π§³
π DESCRIPTION π
So, this routine is used for processing an asynchronously received NVME LS request. Any remaining validation is done and the LS is then forwarded to the nvme-fc transport via nvme_fc_rcv_ls_req. Lowkey important, highkey iconic β¨.
The calling sequence should be:
nvme_fc_rcv_ls_req -> (processing) -> lpfc_nvme_xmt_ls_rsp/cmp -> req->done
__lpfc_nvme_xmt_ls_rsp_cmp should free the allocated axchg. That part is not optional, bestie β itβs the cleanup vibe check π«§.
Return vibes, no cap:
- Returns
0if LS was handled and delivered to the transport. Slay, delivered β . - Returns
1if LS failed to be handled and should be dropped. Not the moment, but we move π.
π SEE ALSO π
Kernel file ./drivers/scsi/lpfc/lpfc_nvme.c, plus the certified bestie list: lpfc_nvme_create_queue(9), lpfc_nvme_delete_queue(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_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) π.
Made with π from the source/version stamp ./drivers/scsi/lpfc, dated October 2026, and yes bestie, this page is lpfc_nvme_handle_lsreq(9) β bye! π
π¦ 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