diff options
author | Steve Wise <swise@opengridcomputing.com> | 2010-09-10 11:15:09 -0500 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2010-09-28 10:46:32 -0700 |
commit | 0e42c1f4303f3f8d5b2c257dc5488b0ad465097d (patch) | |
tree | 8c32681b45fb4ec784d2c511ebb3fd02d06a2f65 /drivers/infiniband/hw/cxgb4/ev.c | |
parent | 6ff0e343b3356897cef1f09452f93acb13703911 (diff) | |
download | linux-0e42c1f4303f3f8d5b2c257dc5488b0ad465097d.tar.gz linux-0e42c1f4303f3f8d5b2c257dc5488b0ad465097d.tar.bz2 linux-0e42c1f4303f3f8d5b2c257dc5488b0ad465097d.zip |
RDMA/cxgb4: Handle CPL_RDMA_TERMINATE messages
T4 FW sends up CPL_RDMA_TERMINATE to indicate a peer TERM. This
triggers the QP moving to TERMINATE state.
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/cxgb4/ev.c')
-rw-r--r-- | drivers/infiniband/hw/cxgb4/ev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/cxgb4/ev.c b/drivers/infiniband/hw/cxgb4/ev.c index 491e76a0327f..c13041a0aeba 100644 --- a/drivers/infiniband/hw/cxgb4/ev.c +++ b/drivers/infiniband/hw/cxgb4/ev.c @@ -60,7 +60,7 @@ static void post_qp_event(struct c4iw_dev *dev, struct c4iw_cq *chp, if (qhp->attr.state == C4IW_QP_STATE_RTS) { attrs.next_state = C4IW_QP_STATE_TERMINATE; c4iw_modify_qp(qhp->rhp, qhp, C4IW_QP_ATTR_NEXT_STATE, - &attrs, 1); + &attrs, 0); } event.event = ib_event; |