diff options
author | Aya Levin <[email protected]> | 2021-11-09 15:44:58 +0200 |
---|---|---|
committer | Saeed Mahameed <[email protected]> | 2021-11-16 20:31:48 -0800 |
commit | f28a14c1dcb0dbdae719a05b71ed30ce31221e75 (patch) | |
tree | dabac0a4a669f9b33f9edeadb316de81fcfbde1b /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | aef0f8c67d752ed68cc18582711ac6accf0ad9b6 (diff) |
net/mlx5: Avoid printing health buffer when firmware is unavailable
Use firmware version field as an indication to health buffer's sanity.
When firmware version is 0xFFFFFFFF, deduce that firmware is unavailable
and avoid printing the health buffer to dmesg as it doesn't provide
debug info.
Signed-off-by: Aya Levin <[email protected]>
Reviewed-by: Gal Pressman <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions