]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "IB/core: Allow QP state transition from reset to error"
authorLeon Romanovsky <leonro@mellanox.com>
Sun, 23 Jul 2017 07:46:14 +0000 (10:46 +0300)
committerLeon Romanovsky <leonro@mellanox.com>
Sun, 23 Jul 2017 07:52:00 +0000 (10:52 +0300)
commit51be036e3dfea4189f28248da47ccefead1b86b4
treea4bb1bcda59ba4f9cb55947cbaaa9ca640f4dca7
parent0088c7ab5e5af9f535d218076beaddcb939a3a45
Revert "IB/core: Allow QP state transition from reset to error"

The commit 44edcc0d2eeb ("IB/core: Allow QP state transition from reset to error")
allowed transition from Reset to Error state for the QPs. This behavior
doesn't follow the IBTA specification 1.3, which in 10.3.1 QUEUE PAIR AND
EE CONTEXT STATES section.

The quote from the spec:
"An error can be forced from any state, except Reset, with
the Modify QP/EE Verb."

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
drivers/infiniband/core/verbs.c