diff options
| author | 2017-03-20 17:25:42 -0700 | |
|---|---|---|
| committer | 2017-04-05 14:45:09 -0400 | |
| commit | fb897ad315643e5dc1092a115b3cec914b66df9d (patch) | |
| tree | 69599ef786c452e31ff0e905ba94bd9339d5e77e /tools/perf/scripts/python | |
| parent | IB/hfi1: Protect the global dev_cntr_names and port_cntr_names (diff) | |
IB/hfi1: Check for QSFP presence before attempting reads
Attempting to read the status of a QSFP cable creates noise in the logs
and misses out on setting an appropriate Offline/Disabled Reason if the
cable is not plugged in. Check for this prior to attempting the read and
attendant retries.
Fixes: 673b975f1fba ("IB/hfi1: Add QSFP sanity pre-check")
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Easwar Hariharan <easwar.hariharan@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
