summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2018-07-26 05:40:34 +0300
committerDavid S. Miller <davem@davemloft.net>2018-07-26 08:17:44 +0300
commit5b0ced17edc5710d4e946392d0f2934a9e07b37f (patch)
tree609a86af450ee481bce51af046f1ce9c77d35345 /tools/perf/scripts/python/export-to-sqlite.py
parentb24dbfe9ce03d9f83306616f22fb0e04e8960abe (diff)
downloadlinux-5b0ced17edc5710d4e946392d0f2934a9e07b37f.tar.xz
nfp: don't fail probe on pci_sriov_set_totalvfs() errors
On machines with buggy ACPI tables or when SR-IOV is already enabled we may not be able to set the SR-IOV VF limit in sysfs, it's not fatal because the limit is imposed by the driver anyway. Only the sysfs 'sriov_totalvfs' attribute will be too high. Print an error to inform user about the failure but allow probe to continue. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions