diff options
| author | Easwar Hariharan <easwar.hariharan@intel.com> | 2017-03-21 03:25:42 +0300 |
|---|---|---|
| committer | Doug Ledford <dledford@redhat.com> | 2017-04-05 21:45:09 +0300 |
| commit | fb897ad315643e5dc1092a115b3cec914b66df9d (patch) | |
| tree | 69599ef786c452e31ff0e905ba94bd9339d5e77e /include/linux | |
| parent | 62eed66e98b4c2286fef2ce5911d8d75b7515f7b (diff) | |
| download | linux-fb897ad315643e5dc1092a115b3cec914b66df9d.tar.xz | |
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 'include/linux')
0 files changed, 0 insertions, 0 deletions
