lpfc_nvmet_ls_req_cmp(9)
π lpfc_nvmet_ls_req_cmp β a lil' guide from ur fav kernel bestie
okay so this is a page from the Kernel API Manual, section 9, and honestly? it's giving "tiny function, big responsibilities" energy β¨ buckle up bestie, we're going into the lpfc driver π¦
πΈ NAME πΈ
lpfc_nvmet_ls_req_cmp β the completion handler for a nvme ls request π
like, when an NVME LS request wraps up, this is the girl who handles the paperwork. main character energy fr.
β¨ SYNOPSIS β¨
void lpfc_nvmet_ls_req_cmp (struct lpfc_hba *phba , struct lpfc_iocbq
*cmdwqe , struct lpfc_iocbq *rspwqe );
that's it. three pointers, returns void, no drama. lowkey iconic π
π ARGUMENTS π
phbaβ pointer to the HBA context object. the whole vibe of the host bus adapter lives in here π«Άcmdwqeβ pointer to the driver command WQE object. this is the "what we asked for" side of things πrspwqeβ pointer to the driver response WQE object. and this is the "what we got back" side πΈ
three WQEs walk into a bar... no cap, that's the whole function signature π
π₯ DESCRIPTION π₯
so like β this function is the completion handler for NVME LS requests. periodt.
what does she actually do?? she updates any states and statistics π (yes, she's tracking the numbers, she's organized like that), and then she calls the generic completion handler to finish completion of the request π
that's the whole flow bestie:
- states + stats get updated β
- generic completion handler gets called to finish the request β
- done, slay π
no hidden steps, no secret sauce, the manpage is not holding out on us π
π SEE ALSO π
the kernel file is right here, go read it iykyk:
Kernel file ./drivers/scsi/lpfc/lpfc_nvmet.c
and the whole friend group π β these functions are all linked and they all ate:
__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(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)
bestie reminder: every single one of those is a real function name, copied exactly. don't @ me, don't typo them, they're load-bearing π«Ά
π sign-off π
this lil masterpiece came out of ./drivers/scsi/lpfc, dated October 2026, and it's filed under lpfc_nvmet_ls_req_cmp(9). go off, kernel docs, you ate πβ¨ππ¦
π¦ 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