diff options
author | Logan Gunthorpe <logang@deltatee.com> | 2021-06-10 10:06:08 -0600 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2021-06-10 18:01:41 -0500 |
commit | 7e2faa1710c408712185bb6463eaa0ee4776350f (patch) | |
tree | fc9785d7c11cf9832e64512c1376bad0bc4f5c53 /tools/testing/selftests/bpf/prog_tests | |
parent | cf201bfe8cdc9ba11c4f312945b908ed24c7b7b5 (diff) |
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/testing/selftests/bpf/prog_tests')
0 files changed, 0 insertions, 0 deletions