diff options
| author | Michał Winiarski <michal.winiarski@intel.com> | 2024-12-16 20:56:15 +0300 |
|---|---|---|
| committer | Bjorn Helgaas <bhelgaas@google.com> | 2025-02-19 00:40:52 +0300 |
| commit | cbd384389eac296de9d2088dac0617911361b2f4 (patch) | |
| tree | c08c112cdb5b79a8aff04ed4db007ef30b4e84ce /tools/perf/scripts/python/syscall-counts.py | |
| parent | ee4621b7e46ad857dd14bed13bf8804b42a80e66 (diff) | |
| download | linux-cbd384389eac296de9d2088dac0617911361b2f4.tar.xz | |
PCI: Add pci_resource_is_iov() to identify IOV resources
There are multiple places where special handling is required for IOV
resources.
Extract the identification of IOV resources to pci_resource_is_iov() and
drop a few ifdefs.
Link: https://lore.kernel.org/r/20241216175632.4175-9-ilpo.jarvinen@linux.intel.com
Signed-off-by: Michał Winiarski <michal.winiarski@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Tested-by: Xiaochun Lee <lixc17@lenovo.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
