__lpfc_nvme_ls_req_cmp(9)
π __lpfc_nvme_ls_req_cmp β kernel API manual, but make it make sense π
okay so bestie, this is a page from the Kernel API Manual and it's all about __lpfc_nvme_ls_req_cmp β¨ lowkey a mouthful, but it's literally just a completion handler and honestly? she ate.
π NAME π
__lpfc_nvme_ls_req_cmp β the generic completion handler for a NVME LS request. that's it, that's the vibe π
β¨ SYNOPSIS β¨
void __lpfc_nvme_ls_req_cmp (struct lpfc_hba *phba , struct lpfc_vport
*vport , struct lpfc_iocbq *cmdwqe , struct lpfc_wcqe_complete *wcqe );
like, yes, that's a whole lot of struct pointers. breathe. we'll get through it together π«Ά
πΈ ARGUMENTS πΈ
phbaβ pointer to the HBA context object. the main character of the storage world, honestly πvportβ the local port that issued the LS. she's the one who started it, so she's the one showing up πββοΈcmdwqeβ pointer to the driver command WQE object. this is the request side of things β¨wcqeβ pointer to the driver response CQE object. and this is the reply, iykyk π¦
π DESCRIPTION π
so what does she do? this function is the generic completion handler for NVME LS requests β meaning when an LS request finishes, she's the one wrapping it up. the whole closing-credits moment π¬
the way that she works, in order, no cap:
- updates any states and statistics π
- calls the transport
ls_reqdone routine π - tears down the command and buffers used for the LS request π§Ήβ¨
clean, efficient, iconic. periodt.
π SEE ALSO π
the kernel file ./drivers/scsi/lpfc/lpfc_nvme.c β go read her, fr fr π β plus this whole friend group:
lpfc_nvme_create_queue(9)lpfc_nvme_delete_queue(9)lpfc_nvme_handle_lsreq(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)
like, the whole squad pulled up ππ
anyway bestie, that's the page π
this one lives under ./drivers/scsi/lpfc, and the version vibes are dated October 2026 β so yeah, she's from the future and still slaying π₯π bye 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