aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/pci.h
diff options
context:
space:
mode:
authorKarimAllah Ahmed <karahmed@amazon.de>2018-03-03 05:33:10 +0100
committerBjorn Helgaas <bhelgaas@google.com>2018-03-19 14:55:17 -0500
commitbf4447fd1cb6158b60bd60a79998e1d029d31e68 (patch)
treeffc1c818597a76f15c82f2a5d14f6fd6f07a8794 /drivers/pci/pci.h
parentPCI/IOV: Skip INTx config reads for VFs (diff)
downloadlinux-dev-bf4447fd1cb6158b60bd60a79998e1d029d31e68.tar.xz
linux-dev-bf4447fd1cb6158b60bd60a79998e1d029d31e68.zip
PCI/IOV: Skip BAR sizing for VFs
Per PCIe r4.0, sec 9.3.4.1.11, the BAR registers in VF config space are all RO Zero, so skip sizing them. This is an optimization when enabling SR-IOV on a device with many VFs. Suggested-by: Bjorn Helgaas <bhelgaas@google.com> Signed-off-by: KarimAllah Ahmed <karahmed@amazon.de> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/pci.h')
0 files changed, 0 insertions, 0 deletions