diff options
author | 2016-11-28 09:15:52 -0600 | |
---|---|---|
committer | 2016-11-29 18:05:09 -0600 | |
commit | 6ffa2489c51da77564a0881a73765ea2169f955d (patch) | |
tree | b78c596c4a138a156cf5cfe908ae161f1cdbe552 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | PCI: Update BARs using property bits appropriate for type (diff) | |
download | linux-dev-6ffa2489c51da77564a0881a73765ea2169f955d.tar.xz linux-dev-6ffa2489c51da77564a0881a73765ea2169f955d.zip |
PCI: Separate VF BAR updates from standard BAR updates
Previously pci_update_resource() used the same code path for updating
standard BARs and VF BARs in SR-IOV capabilities.
Split the VF BAR update into a new pci_iov_update_resource() internal
interface, which makes it simpler to compute the BAR address (we can get
rid of pci_resource_bar() and pci_iov_resource_bar()).
This patch:
- Renames pci_update_resource() to pci_std_update_resource(),
- Adds pci_iov_update_resource(),
- Makes pci_update_resource() a wrapper that calls the appropriate one,
No functional change intended.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions