__lpfc_nvme_ls_abort(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… __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:

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