diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2017-02-19 22:58:08 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-20 19:18:49 +0300 |
commit | a9c83f7bc7c121c99457553f8d1c3e231a9ba6df (patch) | |
tree | d3de7fe08e8737bdb8a405037f0d4776f635cea1 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | c1ceee5efe80a2f03071a39a7df19b69dee21eae (diff) | |
download | linux-a9c83f7bc7c121c99457553f8d1c3e231a9ba6df.tar.xz |
nfp: refactor NSP initialization and add error message
When acquiring NSP communication resource fails user is left with
"probe failed with error -2" PCI code message but no info on what
caused the problem. Some development boards may not have NSP FW
in the flash image. Help users with a more verbouse message.
While at it move the whole NSP init to a separate function to keep
.probe() callback nice and simple.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions