summaryrefslogtreecommitdiffstats
path: root/drivers/nvme/target
diff options
context:
space:
mode:
authorLogan Gunthorpe <logang@deltatee.com>2018-10-04 23:27:44 +0200
committerBjorn Helgaas <bhelgaas@google.com>2018-10-17 19:18:21 +0200
commite0596ab2900dfa64c0538e4aef8eec3c6f0f38eb (patch)
tree06400983b4d86dc3dc9195b1808e9ea273d6906f /drivers/nvme/target
parentnvme-pci: Use PCI p2pmem subsystem to manage the CMB (diff)
downloadlinux-e0596ab2900dfa64c0538e4aef8eec3c6f0f38eb.tar.xz
linux-e0596ab2900dfa64c0538e4aef8eec3c6f0f38eb.zip
nvme-pci: Add support for P2P memory in requests
For P2P requests, we must use the pci_p2pmem_map_sg() function instead of the dma_map_sg functions. With that, we can then indicate PCI_P2P support in the request queue. For this, we create an NVME_F_PCI_P2P flag which tells the core to set QUEUE_FLAG_PCI_P2P in the request queue. Signed-off-by: Logan Gunthorpe <logang@deltatee.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Keith Busch <keith.busch@intel.com>
Diffstat (limited to 'drivers/nvme/target')
0 files changed, 0 insertions, 0 deletions