Skip to content
Commit 3142d832 authored by Filippo Sironi's avatar Filippo Sironi Committed by Bjorn Helgaas
Browse files

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: default avatarFilippo Sironi <sironi@amazon.de>
[bhelgaas: rename to "vf_device" to match pci_dev->device]
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
parent ad581f86
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment