commit | a57813e6343cf7e7e7741bab180546c28d1c7ee5 | [log] [tgz] |
---|---|---|
author | Keith Busch <kbusch@kernel.org> | Wed Jul 20 07:32:17 2022 -0700 |
committer | Keith Busch <kbusch@kernel.org> | Thu Aug 04 09:02:24 2022 -0700 |
tree | b5d0c2bb0afb99f72d0b989bf52d63b4a632f715 | |
parent | ba3ab9f0c82ae764b7da4cb7e8df548439b2ec72 [diff] |
nvme-pci: implement dma_map support Implement callbacks to convert a registered bio_vec to a prp list, and use this for each IO that uses the returned tag. This saves repeated IO conversions and dma mapping/unmapping. In many cases, the driver can skip per-IO pool allocations entirely, saving potentially signficant CPU cycles. Signed-off-by: Keith Busch <kbusch@kernel.org>