]> www.infradead.org Git - users/hch/misc.git/commit
nvme-pci: convert to blk_rq_dma_map dma-split-wip
authorChristoph Hellwig <hch@lst.de>
Wed, 9 Oct 2024 06:31:22 +0000 (08:31 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 23 Oct 2024 16:45:25 +0000 (18:45 +0200)
commit6a0b0963ff9e2d8940218c63f0a3ff794bcd09d3
treeefa64604ecc3da579c04ac3d32fca74163278263
parent0d2e9d568ff5fa89274c323650f7c16999cbfde0
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