aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAlexander Duyck <[email protected]>2015-10-29 16:20:57 -0500
committerBjorn Helgaas <[email protected]>2015-10-29 16:20:57 -0500
commitce288ec380380f3ab0e3c631b9c2f598835a3f38 (patch)
tree1eeb932a8ef4bae0d58ba2f2f7977ce3175d69cc /tools/perf/scripts/python/export-to-postgresql.py
parentea9a8854161d9580cfabe011c0ae296ecc0e1d4f (diff)
PCI: Remove redundant validation of SR-IOV offset/stride registers
Previously, we read, validated, and cached PCI_SRIOV_VF_OFFSET and PCI_SRIOV_VF_STRIDE in sriov_enable(). But sriov_init() now does that via compute_max_vf_buses(), so we don't need to do it again. Remove the PCI_SRIOV_VF_OFFSET and PCI_SRIOV_VF_STRIDE config reads from sriov_enable(). The pci_sriov structure already contains the offset and stride corresponding to the current NumVFs. [bhelgaas: split to separate patch for reviewability] Signed-off-by: Alexander Duyck <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Wei Yang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions