__lpfc_nvme_ls_abort(9)
π
__lpfc_nvme_ls_abort β the Kernel API Manual moment π
okay so bestie, we're in the Kernel API Manual today and honestly? this one's a little niche but it ate. it's __lpfc_nvme_ls_abort(9), say it with me now π₯
β¨ NAME β¨
__lpfc_nvme_ls_abort β the generic service routine that aborts a prior NVME LS request. that's it, that's the whole vibe check π¦
πΈ SYNOPSIS πΈ
int __lpfc_nvme_ls_abort (struct lpfc_vport *vport , struct
lpfc_nodelist *ndlp , struct nvmefc_ls_req *pnvme_lsreq );
like, look at her. three parameters, one int coming back. main character energy fr fr π
π«Ά ARGUMENTS π«Ά
vportβ the local port that issued the LS. she's the one who started all this πndlpβ the remote port the LS was sent to. the other half of the whole situation, iykyk πpnvme_lsreqβ pointer to the LS request structure from the transport. yes bestie, a pointer, we love a pointer around here π
π¦ DESCRIPTION π¦
so here's the tea, and it's genuinely simple: the driver validates the ndlp, then it looks for the LS, and β plot twist β it aborts the LS if found. that's the entire routine. no cap. not me expecting something more dramatic π
π RETURN π
0β if the LS was found and aborted. slay, we love a clean zero β¨- non-zero β various error conditions, in the form
-Exxx. so like, negative errno vibes, she's telling you something went sideways π
π₯ SEE ALSO π₯
kernel file ./drivers/scsi/lpfc/lpfc_nvme.c, plus the whole friend group:
lpfc_nvme_create_queue(9)lpfc_nvme_delete_queue(9)lpfc_nvme_handle_lsreq(9)__lpfc_nvme_ls_req_cmp(9)__lpfc_nvme_ls_req(9)lpfc_nvme_ls_req(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, that's a whole group chat right there. obsessed π
and that's the page, bestie! πΈ brought to you by ./drivers/scsi/lpfc β October 2026 β and yes, she's still signed __lpfc_nvme_ls_abort(9) at the bottom, iconic to the very end π§β
π¦ 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