lpfc_bg_scsi...p_dma_buf_s3(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay bestie, welcome to the lpfc_bg_scsi...p_dma_buf_s3(9) page from the Kernel API Manual β€” yes, the manual name is part of the vibe now πŸ’–. The star of the show is lpfc_bg_scsi_prep_dma_buf_s3 β€” DMA mapping for scsi buffer to SLI3 IF spec. periodt.

🧚 SYNOPSIS 🧚

int lpfc_bg_scsi_prep_dma_buf_s3 (struct lpfc_hba *phba , struct
       lpfc_io_buf *lpfc_cmd );

🌸 ARGUMENTS 🌸

  • phba β€” The Hba for which this call is being executed. 🫢
  • lpfc_cmd β€” The scsi buffer which is going to be prep'ed. ✨

πŸ’… DESCRIPTION πŸ’…

This is the protection/DIF aware version of lpfc_scsi_prep_dma_buf. The page literally says it may be a good idea to combine the two functions eventually, but for now, it's here β€” and honestly? iconic little β€œfor now” energy. πŸ¦‹

RETURNS 0 - SUCCESS, 1 - Failed DMA map, retry. 2 - Invalid scsi cmd or prot-type. Do not rety.

lowkey important: 2 means invalid scsi cmd or prot-type, and the page says Do not rety β€” so do not retry it, bestie. πŸ’€

πŸŽ€ SEE ALSO πŸŽ€

Kernel file: ./drivers/scsi/lpfc/lpfc_scsi.c β€” that’s the file ref, no cap. The whole SEE ALSO squad is here:

okay that’s the page bestie 🫢 source/version: ./drivers/scsi/lpfc β€” date: October 2026 β€” page: lpfc_bg_scsi...p_dma_buf_s3(9). mwah πŸ’‹

πŸ“¦ where this page comes from