diff options
author | Erez Shitrit | 2017-07-13 14:29:08 +0300 |
---|---|---|
committer | Leon Romanovsky | 2017-07-23 10:52:00 +0300 |
commit | 5dc78ad1904db597bdb4427f3ead437aae86f54c (patch) | |
tree | fad5bec2f1964683798e90535610e4a55823632b /lib/string.c | |
parent | b287b76e89503ef1d403cc5cc8bd74b035d25bfa (diff) |
IB/ipoib: Notify on modify QP failure only when relevant
Modify QP can fail and it can be acceptable, like when moving from RST to
ERR state, all the rest are not acceptable and a message to the log
should be printed.
The current code prints on all failures and many messages like:
"Failed to modify QP to ERROR state" appear, even when supported by the
state machine of the QP object.
Signed-off-by: Erez Shitrit <erezsh@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions