freebsd-skq/sys/ofed/drivers/infiniband
Slava Shwartsman 186058782a 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.

Linux commit:
5dc78ad1904db597bdb4427f3ead437aae86f54c

Submitted by:   hselasky@
Approved by:    hselasky (mentor)
MFC after:      1 week
Sponsored by:   Mellanox Technologies
2018-12-05 13:27:17 +00:00
..
core ibcore: Fix clearing of bound device interface. 2018-12-05 13:25:13 +00:00
ulp ipoib: Notify on modify QP failure only when relevant 2018-12-05 13:27:17 +00:00
util sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00