lpfc_nvmet_xmt_ls_rsp_cmp(9)
π lpfc_nvmet_xmt_ls_rsp_cmp(9) π
okay bestie, welcome to the Kernel API Manual, section 9 β today's main character is lpfc_nvmet_xmt_ls_rsp_cmp, and she is literally the completion handler for LS Response. no cap. let's get into it π«Ά
β¨ NAME β¨
lpfc_nvmet_xmt_ls_rsp_cmp β Completion handler for LS Response. that's it, that's the whole vibe check π
πΈ SYNOPSIS πΈ
void lpfc_nvmet_xmt_ls_rsp_cmp (struct lpfc_hba *phba , struct
lpfc_iocbq *cmdwqe , struct lpfc_iocbq *rspwqe );
she returns void, so likeβ¦ no receipts, no return value, just vibes and side effects π
π¦ ARGUMENTS π¦
phbaβ Pointer to HBA context object. the whole HBA situation lives here, she's the context queen πcmdwqeβ Pointer to driver command WQE object. the command side of the story β¨rspwqeβ Pointer to driver response WQE object. and here's the response side, matching set, iconic π
π DESCRIPTION π
so here's the tea: this function gets called from the SLI ring event handler with no lock held β like, zero locks, she's out here free and unbothered, no cap π₯
she is the completion handler for NVME LS commands, and honestly she keeps it simple: first she updates any states and statistics (bookkeeping slay π ), and then she calls the generic completion handler to free resources. cleanup era. we love a function that tidies up after herself π§
π SEE ALSO π
Kernel file ./drivers/scsi/lpfc/lpfc_nvmet.c β go read the source bestie, it's giving main character energy π
and the whole friend group, fr fr:
__lpfc_nvme_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)
quick reminder bestie: she runs with no lock held β that's not a vibe, that's a fact, so don't go assuming any locking magic happens in here π
and that's the whole page!! sourced from ./drivers/scsi/lpfc, dated October 2026, page lpfc_nvmet_xmt_ls_rsp_cmp(9) β mwah π 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