lpfc_nvme_prep_io_dma(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… lpfc_nvme_prep_io_dma(9) πŸ’…

okay bestie, welcome to the Kernel API Manual page for lpfc_nvme_prep_io_dma(9) β€” yes, the name is a whole mouthful, and yes, we’re gonna get through it together. 🫢


🌸 NAME 🌸

lpfc_nvme_prep_io_dma β€” Issue an NVME-over-FCP IO ✨

✨ SYNOPSIS ✨

int lpfc_nvme_prep_io_dma (struct lpfc_vport *vport , struct lpfc_io_buf
       *lpfc_ncmd );

πŸŽ€ ARGUMENTS πŸŽ€

  • vport β€” pointer to a host virtual N_Port data structure. literally the vport bestie πŸ’–
  • lpfc_ncmd β€” Pointer to lpfc scsi command. yes, that’s the command vibe πŸ¦‹

πŸ‘‘ DESCRIPTION πŸ‘‘

okay so the driver registers this routine as its io request handler. main character behavior, honestly. πŸ’…

This routine issues an fcp WQE with data from the lpfc_nvme_fcpreq data structure to the rport indicated in lpfc_nvme_rport. no cap, that’s the flow. πŸ”₯

Return value: 0 β€” Success. TODO: What are the failure codes. 😭 the TODO is literally right there in the original, bestie, we don’t make the rules.

🌈 SEE ALSO 🌈


okay that’s the whole page, bestie πŸ’– cute little sign-off: source/version ./drivers/scsi/lpfc, date October 2026, page lpfc_nvme_prep_io_dma(9). slay and stay fabulous βœ¨πŸ’…

πŸ“¦ where this page comes from