]> www.infradead.org Git - users/hch/block.git/commit
nvme-pci: convert to blk_rq_dma_map nvme-dma
authorChristoph Hellwig <hch@lst.de>
Sat, 5 Oct 2024 17:21:45 +0000 (19:21 +0200)
committerChristoph Hellwig <hch@lst.de>
Sat, 5 Oct 2024 17:21:45 +0000 (19:21 +0200)
commit080c3a9ad1b0163ed2b4f9f9fba9a9fd8fe8919f
treea66f7e244b30eeeb28ab249ef8367d5e8fb0c8b5
parent12f024ef5c78fa8592b65b2bad99c3f02b24e9ad
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