commit | 3142d832af10d8cd456cdec5aa72da1c8572f557 | [log] [tgz] |
---|---|---|
author | Filippo Sironi <sironi@amazon.de> | Mon Aug 28 15:38:49 2017 +0200 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Thu Oct 05 15:54:58 2017 -0500 |
tree | e1fe7851ee4473ce801ea5bd348228843aa2ac83 | |
parent | ad581f869e809e727e7d57a07c81f349221a4276 [diff] |
PCI: Cache the VF device ID in the SR-IOV structure Cache the VF device ID in the SR-IOV structure and use it instead of reading it over and over from the PF config space capability. Signed-off-by: Filippo Sironi <sironi@amazon.de> [bhelgaas: rename to "vf_device" to match pci_dev->device] Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>