diff options
author | 2021-06-10 10:06:08 -0600 | |
---|---|---|
committer | 2021-06-10 18:01:41 -0500 | |
commit | 7e2faa1710c408712185bb6463eaa0ee4776350f (patch) | |
tree | fc9785d7c11cf9832e64512c1376bad0bc4f5c53 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | PCI/P2PDMA: Warn if host bridge not in whitelist (diff) | |
download | linux-dev-7e2faa1710c408712185bb6463eaa0ee4776350f.tar.xz linux-dev-7e2faa1710c408712185bb6463eaa0ee4776350f.zip |
PCI/P2PDMA: Refactor pci_p2pdma_map_type()
All callers of pci_p2pdma_map_type() have a struct dev_pgmap and a struct
device (of the client doing the DMA transfer). Thus move the conversion to
struct pci_devs for the provider and client into this function.
Link: https://lore.kernel.org/r/20210610160609.28447-6-logang@deltatee.com
Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions