]> www.infradead.org Git - users/hch/misc.git/commit
nvme-pci: convert to blk_rq_dma_map block-dma
authorChristoph Hellwig <hch@lst.de>
Wed, 9 Oct 2024 06:31:22 +0000 (08:31 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 10 Oct 2024 05:45:05 +0000 (07:45 +0200)
commitd76f41fc7d0f68b85c90d0beb90a09f54b6aa219
tree718270e443cd9d8d514723bf1c1cf7750811e237
parentd066726d73b963096dec486ce14ce6e6710ffbae
nvme-pci: convert to blk_rq_dma_map

Use the blk_rq_dma_map API to DMA map requests instead of
scatterlists.  This also removes the fast path single segment
code as the blk_rq_dma_map naturally inlines single IOVA
segment mappings into the preallocated structure.

Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/pci.c