Skip to content

Commit b287b76

Browse files
author
Leon Romanovsky
committed
Revert "IB/core: Allow QP state transition from reset to error"
The commit ebc9ca4 ("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>
1 parent 1b35509 commit b287b76

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/infiniband/core/verbs.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -895,7 +895,6 @@ static const struct {
895895
} qp_state_table[IB_QPS_ERR + 1][IB_QPS_ERR + 1] = {
896896
[IB_QPS_RESET] = {
897897
[IB_QPS_RESET] = { .valid = 1 },
898-
[IB_QPS_ERR] = { .valid = 1 },
899898
[IB_QPS_INIT] = {
900899
.valid = 1,
901900
.req_param = {

0 commit comments

Comments
 (0)