diff options
author | Logan Gunthorpe <[email protected]> | 2018-10-04 15:27:44 -0600 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2018-10-17 12:18:21 -0500 |
commit | e0596ab2900dfa64c0538e4aef8eec3c6f0f38eb (patch) | |
tree | 06400983b4d86dc3dc9195b1808e9ea273d6906f /tools/perf/util/trace-event-scripting.c | |
parent | 0f238ff5cc92554fe8ddc6c3776386f31a4d38fa (diff) |
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 <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Keith Busch <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions