summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorYijing Wang <wangyijing@huawei.com>2013-07-24 17:26:12 +0800
committerBjorn Helgaas <bhelgaas@google.com>2013-07-30 10:35:39 -0600
commit19b6984e972f2aca82d3756f826ded68e0a8fef8 (patch)
tree7fd9c7284c4a5c74b17330feafc9a5914c9517cc /tools/perf/util/scripting-engines/trace-event-perl.c
parent07f9b61c3915e8eb156cb4461b3946736356ad02 (diff)
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>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions