]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r341538:
authorhselasky <hselasky@FreeBSD.org>
Wed, 12 Dec 2018 11:35:00 +0000 (11:35 +0000)
committerhselasky <hselasky@FreeBSD.org>
Wed, 12 Dec 2018 11:35:00 +0000 (11:35 +0000)
commit1a2461c7b2cd81365854b21f37c8e7bffe91a370
tree5205d0a630f1fe78678c9d863f274a8654ffb7ff
parent58a84e5e548fae77fc580ab9100d25e72581dd46
MFC r341538:
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

MFC after:      1 week
Sponsored by:   Mellanox Technologies
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_ib.c