aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBryan Morgan <[email protected]>2016-02-03 14:30:49 -0800
committerDoug Ledford <[email protected]>2016-03-10 20:37:45 -0500
commita9c05e350c17db98d82e8784ed0c05a78bd0169f (patch)
tree46624f954be8873bb5b643e86860b21e7c0c3c51 /tools/perf/scripts/python
parent9cd70e1bbf9393633904b1cb71925c40e1839d68 (diff)
staging/rdma/hfi1: HFI reports wrong offline disabled reason when cable removed
Removing QSFP cable should report 'No Local Media' instead of 'Transient' as reported by 'opaportinfo'. Workaround is to change the state to OPA_LINKDOWN_REASON_LOCAL_MEDIA_NOT_INSTALLED in cable handler. With cable still removed, 'opaportinfo bounce' should not cause a state change to Polling, as reported by 'opaportinfo'. Resolution is to prevent physical state change from Offline->Polling. Use a macro to mask lower nibble of OPA_LINKDOWN_REASON* as needed for offline_disabled_reason. Reviewed-by: Mike Marciniszyn <[email protected]> Reviewed-by: Easwar Hariharan <[email protected]> Reviewed-by: Dean Luick <[email protected]> Reported-by: Todd Rimmer <[email protected]> Signed-off-by: Bryan Morgan <[email protected]> Signed-off-by: Jubin John <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions