Home
last modified time | relevance | path

Searched hist:"19 b6984e" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/pci/
H A Diov.c19b6984e Wed Jul 24 04:26:12 CDT 2013 Yijing Wang <wangyijing@huawei.com> 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 <wangyijing@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
19b6984e Wed Jul 24 04:26:12 CDT 2013 Yijing Wang <wangyijing@huawei.com> 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 <wangyijing@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>