aboutsummaryrefslogtreecommitdiff
path: root/include/linux/pci.h
diff options
context:
space:
mode:
authorWei Yang2015-03-25 16:23:43 +0800
committerBenjamin Herrenschmidt2015-03-31 13:02:35 +1100
commite88ae01d2c43be3c3a6f340bfa7bab8b87127f57 (patch)
treec14e365fb13c1ab60b43c1c8ae71d09d6936c603 /include/linux/pci.h
parent68f8e9fa56ce6b5cb18323e8d8fa536fee0f89ca (diff)
PCI: Print PF SR-IOV resource that contains all VF(n) BAR space
When we size VF BAR0, VF BAR1, etc., from the SR-IOV Capability of a PF, we learn the alignment requirement and amount of space consumed by a single VF. But when VFs are enabled, *each* of the NumVFs consumes that amount of space, so the total size of the PF resource is "VF BAR size * NumVFs". Add a printk of the total space consumed by the VFs corresponding to what we already do for normal non-IOV BARs. No functional change; new message only. [bhelgaas: split out into its own patch] Signed-off-by: Wei Yang <weiyang@linux.vnet.ibm.com> Acked-by: Bjorn Helgaas <bhelgaas@google.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'include/linux/pci.h')
0 files changed, 0 insertions, 0 deletions