projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebb9098
)
RDMA/cxgb3: Fail posts synchronously when in TERMINATE state
author
Steve Wise
<swise@opengridcomputing.com>
Thu, 15 Feb 2007 14:49:02 +0000
(08:49 -0600)
committer
Roland Dreier
<rolandd@cisco.com>
Fri, 16 Feb 2007 21:57:35 +0000
(13:57 -0800)
For T3B devices, mark user QP in error once we transition
to TERMINATE.
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/cxgb3/iwch_qp.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/cxgb3/iwch_qp.c
b/drivers/infiniband/hw/cxgb3/iwch_qp.c
index e066727504b6db81ce4f9bfe406e43251c5b2f10..da13a38732002af3767db984aeac540b53a44947 100644
(file)
--- a/
drivers/infiniband/hw/cxgb3/iwch_qp.c
+++ b/
drivers/infiniband/hw/cxgb3/iwch_qp.c
@@
-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;