diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2019-01-02 15:31:06 -0600 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2019-01-02 15:31:06 -0600 |
commit | 6ee86cac1cc415031b443d8b584305696a300d1e (patch) | |
tree | 7aa14c4e08128d3b0709658b814cbbdaa01fe006 /include | |
parent | 54aed1909db69f9b160bf36dd4ec314f0c91b56a (diff) | |
parent | 7dc20ab1b9c431b792a6fe1e78baf36b63edc5e3 (diff) |
Merge branch 'pci/virtualization'
- Skip VF scanning on powerpc, which does this in firmware (Sebastian
Ott)
* pci/virtualization:
s390/pci: skip VF scanning
PCI/IOV: Add flag so platforms can skip VF scanning
PCI/IOV: Factor out sriov_add_vfs()
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/pci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index a6cd567c3fc1..8e3c646bc15c 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -405,6 +405,7 @@ struct pci_dev { unsigned int non_compliant_bars:1; /* Broken BARs; ignore them */ unsigned int is_probed:1; /* Device probing in progress */ unsigned int link_active_reporting:1;/* Device capable of reporting link active */ + unsigned int no_vf_scan:1; /* Don't scan for VFs after IOV enablement */ pci_dev_flags_t dev_flags; atomic_t enable_cnt; /* pci_enable_device has been called */ |