Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PCI: Update NumVFs register when disabling SR-IOV
Currently, we only update NumVFs register during sriov_enable(). This register should also be updated during sriov_disable() and when sriov_enable() fails. Otherwise, we will get the stale "Number of VFs" info from lspci. [bhelgaas: changelog] Signed-off-by: Yijing Wang <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]>
- Loading branch information