diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2017-02-19 11:58:08 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-20 11:18:49 -0500 |
commit | a9c83f7bc7c121c99457553f8d1c3e231a9ba6df (patch) | |
tree | d3de7fe08e8737bdb8a405037f0d4776f635cea1 /tools/perf/scripts/python/stackcollapse.py | |
parent | c1ceee5efe80a2f03071a39a7df19b69dee21eae (diff) |
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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions