aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pci.h
diff options
context:
space:
mode:
authorKarimAllah Ahmed <karahmed@amazon.de>2018-03-19 21:06:00 +0100
committerBjorn Helgaas <helgaas@kernel.org>2018-03-31 15:32:43 -0500
commitcf0921bea66c55600a48009597caa5fcb1419748 (patch)
treee2a61ebd1a8c46a4fcac4231effc95a7c8469a75 /include/linux/pci.h
parentPCI/IOV: Skip BAR sizing for VFs (diff)
downloadlinux-dev-cf0921bea66c55600a48009597caa5fcb1419748.tar.xz
linux-dev-cf0921bea66c55600a48009597caa5fcb1419748.zip
PCI/IOV: Use VF0 cached config registers for other VFs
Cache some config data from VF0 and use it for all other VFs instead of reading it from the config space of each VF. We assume these items are the same across all associated VFs: Revision ID Class Code Subsystem Vendor ID Subsystem ID This is an optimization when enabling SR-IOV on a device with many VFs. Signed-off-by: KarimAllah Ahmed <karahmed@amazon.de> [bhelgaas: changelog, simplify comments, remove unused "device", test CONFIG_PCI_IOV instead of CONFIG_PCI_ATS, rename functions] Signed-off-by: Bjorn Helgaas <helgaas@kernel.org>
Diffstat (limited to 'include/linux/pci.h')
0 files changed, 0 insertions, 0 deletions