summaryrefslogtreecommitdiff
path: root/drivers/nvme/target/rdma.c
diff options
context:
space:
mode:
authorLogan Gunthorpe <logang@deltatee.com>2018-10-04 15:27:44 -0600
committerBjorn Helgaas <bhelgaas@google.com>2018-10-17 12:18:21 -0500
commite0596ab2900dfa64c0538e4aef8eec3c6f0f38eb (patch)
tree06400983b4d86dc3dc9195b1808e9ea273d6906f /drivers/nvme/target/rdma.c
parent0f238ff5cc92554fe8ddc6c3776386f31a4d38fa (diff)
downloadlinux-next-e0596ab2900dfa64c0538e4aef8eec3c6f0f38eb.tar.gz
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/rdma.c')
0 files changed, 0 insertions, 0 deletions