aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorLogan Gunthorpe <[email protected]>2018-10-04 15:27:42 -0600
committerBjorn Helgaas <[email protected]>2018-10-17 12:18:20 -0500
commit50b7d22079f74571a0fa73420586a7ad1ffebe2f (patch)
treeb803fb76711af7c26ec22bde8f9cea71f1f22fa9 /tools/perf/util/trace-event-scripting.c
parent49d92c0dd64ae769c2d67fe27ac260ae31259ba6 (diff)
IB/core: Ensure we map P2P memory correctly in rdma_rw_ctx_[init|destroy]()
In order to use PCI P2P memory the pci_p2pmem_map_sg() function must be called to map the correct PCI bus address. To do this, check the first page in the scatter list to see if it is P2P memory or not. At the moment, scatter lists that contain P2P memory must be homogeneous so if the first page is P2P the entire SGL should be P2P. Signed-off-by: Logan Gunthorpe <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions