Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a1a75052 authored by Steve Wise's avatar Steve Wise Committed by Roland Dreier
Browse files

RDMA/cxgb3: Fail posts synchronously when in TERMINATE state



For T3B devices, mark user QP in error once we transition
to TERMINATE.

Signed-off-by: default avatarSteve Wise <swise@opengridcomputing.com>
Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent ebb90986
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -846,6 +846,8 @@ int iwch_modify_qp(struct iwch_dev *rhp, struct iwch_qp *qhp,
			break;
		case IWCH_QP_STATE_TERMINATE:
			qhp->attr.state = IWCH_QP_STATE_TERMINATE;
			if (t3b_device(qhp->rhp))
				cxio_set_wq_in_error(&qhp->wq);
			if (!internal)
				terminate = 1;
			break;