diff options
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | drivers/infiniband/hw/cxgb3/iwch_cm.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/infiniband/hw/cxgb3/iwch_cm.c b/drivers/infiniband/hw/cxgb3/iwch_cm.c index 7b8d5aaa2204..4d7c277d7cc4 100644 --- a/drivers/infiniband/hw/cxgb3/iwch_cm.c +++ b/drivers/infiniband/hw/cxgb3/iwch_cm.c | |||
@@ -1465,6 +1465,13 @@ static int peer_abort(struct t3cdev *tdev, struct sk_buff *skb, void *ctx) | |||
1465 | int ret; | 1465 | int ret; |
1466 | int state; | 1466 | int state; |
1467 | 1467 | ||
1468 | if (is_neg_adv_abort(req->status)) { | ||
1469 | PDBG("%s neg_adv_abort ep %p tid %d\n", __FUNCTION__, ep, | ||
1470 | ep->hwtid); | ||
1471 | t3_l2t_send_event(ep->com.tdev, ep->l2t); | ||
1472 | return CPL_RET_BUF_DONE; | ||
1473 | } | ||
1474 | |||
1468 | /* | 1475 | /* |
1469 | * We get 2 peer aborts from the HW. The first one must | 1476 | * We get 2 peer aborts from the HW. The first one must |
1470 | * be ignored except for scribbling that we need one more. | 1477 | * be ignored except for scribbling that we need one more. |
@@ -1474,13 +1481,6 @@ static int peer_abort(struct t3cdev *tdev, struct sk_buff *skb, void *ctx) | |||
1474 | return CPL_RET_BUF_DONE; | 1481 | return CPL_RET_BUF_DONE; |
1475 | } | 1482 | } |
1476 | 1483 | ||
1477 | if (is_neg_adv_abort(req->status)) { | ||
1478 | PDBG("%s neg_adv_abort ep %p tid %d\n", __FUNCTION__, ep, | ||
1479 | ep->hwtid); | ||
1480 | t3_l2t_send_event(ep->com.tdev, ep->l2t); | ||
1481 | return CPL_RET_BUF_DONE; | ||
1482 | } | ||
1483 | |||
1484 | state = state_read(&ep->com); | 1484 | state = state_read(&ep->com); |
1485 | PDBG("%s ep %p state %u\n", __FUNCTION__, ep, state); | 1485 | PDBG("%s ep %p state %u\n", __FUNCTION__, ep, state); |
1486 | switch (state) { | 1486 | switch (state) { |