summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2017-06-27 00:50:15 -0700
committerDavid S. Miller <davem@davemloft.net>2017-06-27 15:48:46 -0400
commitd557ee6bdc6dc4df2ab8e00c2127120b4acbdfca (patch)
treee758e37768c12ee237ac8993f6b6c0e553cb3813 /tools/perf/scripts/python/export-to-postgresql.py
parented9208be8d8f3ce164892ba7ca484501c881de66 (diff)
nfp: explicitly check if application FW is loaded
We support application FW being either loaded automatically at boot from flash or (more commonly) by the driver from disk. If FW is not found on disk and nothing is preloaded users are faced with this unintuitive error: nfp 0000:04:00.0: nfp: Failed to find PF symbol _pf0_net_bar0 We can do better. Since we rely on symbol table being present - check early if it could be correctly read out of from the device and if not print a more informative message. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Simon Horman <simon.horman@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions