lpfc_scsi_prep_dma_buf_s3(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– lpfc_scsi_prep_dma_buf_s3(9) πŸ’– β€” Kernel API Manual

okay bestie, this is the Kernel API Manual entry for lpfc_scsi_prep_dma_buf_s3(9), and it’s giving β€œlow-level SCSI DMA mapping but make it cute.” let’s get into it 🫢


🌸 NAME 🌸

lpfc_scsi_prep_dma_buf_s3 β€” DMA mapping for scsi buffer to SLI3 IF spec


✨ SYNOPSIS ✨

int lpfc_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 mapped.

πŸ¦‹ DESCRIPTION πŸ¦‹

This routine does the pci dma mapping for the scatter-gather list of the scsi cmnd field of lpfc_cmd for a device with the SLI-3 interface spec. It scans through sg elements and format the bde. This routine also initializes all IOCB fields which are dependent on scsi command request buffer.

Return codes, bestie:

  • 1 β€” Error
  • 0 β€” Success

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file: ./drivers/scsi/lpfc/lpfc_scsi.c

the whole SEE ALSO squad is here, and yes, we’re listing every single one πŸ’…


kisses from ./drivers/scsi/lpfc, dated October 2026, page lpfc_scsi_prep_dma_buf_s3(9) πŸ’œ

πŸ“¦ where this page comes from