__lpfc_nvme_xmt_ls_rsp_cmp(9)
π __lpfc_nvme_xmt_ls_rsp_cmp(9) β the Kernel API Manual, bestie edition π
okay so this is a page straight out of the Kernel API Manual, and honestly it's giving "small function, big job" energy. Sit down, grab a strawberry drink π, and let's get into it.
β¨ NAME β¨
__lpfc_nvme_xmt_ls_rsp_cmp β the generic completion handler for the transmission of an NVME LS response. that's it, that's the whole vibe: it's the "we sent it, now clean up" callback π
πΈ SYNOPSIS πΈ
void __lpfc_nvme_xmt_ls_rsp_cmp (struct lpfc_hba *phba , struct
lpfc_iocbq *cmdwqe , struct lpfc_iocbq *rspwqe );
note the void bestie β it returns literally nothing, it just does things π
π¦ ARGUMENTS π¦
phbaβ pointer to the HBA context object. it's the main character of the driver's world, iykyk πcmdwqeβ pointer to the driver command WQE object.rspwqeβ pointer to the driver response WQE object.
three pointers, zero drama (well, mostly) π«Ά
β DESCRIPTION β
so the way this works: this function gets called from the SLI ring event handler, and no lock is held. key detail, do not forget it β no lock, nope, none π«
and what does it actually do? it frees the memory resources used for the command that was used to send the NVME LS RSP. literally the cleanup crew, showing up after the party to take out the trash, iconic behavior fr fr π§Ήβ¨
π SEE ALSO π
- Kernel file
./drivers/scsi/lpfc/lpfc_nvmet.c 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_req(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)
no cap, that's a whole friend group of functions and they all live together in ./drivers/scsi/lpfc ππ
κ°ΰ¦ a lil sign-off ΰ»κ± this cutie came from./drivers/scsi/lpfc, dated October 2026, and goes by__lpfc_nvme_xmt_ls_rsp_cmp(9). that's the whole page bestie, slay, go free some memory responsibly π π₯
π¦ 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