diff options
| author | Tadeusz Struk <[email protected]> | 2017-05-29 17:20:53 -0700 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2017-06-27 16:58:12 -0400 |
| commit | d54389836ac63cb517bf863b9f6c22626c6aec26 (patch) | |
| tree | dcd03681af461a58e2a1822b16163fab975944e5 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | f1685179820bb7f9d9c4f5d0ac9bfb269529a919 (diff) | |
IB/core: Allow QP state transition from reset to error
Playing with IP-O-IB interface can trigger a warning message:
"ib0: Failed to modify QP to ERROR state" to be logged.
This happens when the QP is in IB_QPS_RESET state and the stack
is trying to transition it to IB_QPS_ERR state in ipoib_ib_dev_stop().
According to the IB spec, Table 91 - "QP State Transition Properties"
it looks like the transition from reset to error is valid:
Transition: Any State to Error
Required Attributes: None
Optional Attributes: None allowed
Actions: Queue processing is stopped. Work Requests pending or in
process are completed in error, when possible.
This patch allows the transition and quiets the message.
Reviewed-by: Dennis Dalessandro <[email protected]>
Signed-off-by: Tadeusz Struk <[email protected]>
Signed-off-by: Dennis Dalessandro <[email protected]>
Reviewed-by: Leon Romanovsky <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions