projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04236df
)
RDMA/cxgb4: Only log rx_data warnings if cpl status is non-zero
author
Vipul Pandya
<vipul@chelsio.com>
Mon, 7 Jan 2013 13:11:55 +0000
(13:11 +0000)
committer
Roland Dreier
<roland@purestorage.com>
Thu, 14 Feb 2013 23:51:56 +0000
(15:51 -0800)
With newer firmware, we can get streaming data due to connection
errors before the driver moves the QP out of RTS.
Signed-off-by: Vipul Pandya <vipul@chelsio.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/cxgb4/cm.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/infiniband/hw/cxgb4/cm.c
b/drivers/infiniband/hw/cxgb4/cm.c
index 5989991e31a1610b37b6bf63e7dd88adcd0ccbed..51ceb618beb22e65ec269c68a6958325d647ee64 100644
(file)
--- a/
drivers/infiniband/hw/cxgb4/cm.c
+++ b/
drivers/infiniband/hw/cxgb4/cm.c
@@
-1417,7
+1417,7
@@
static int rx_data(struct c4iw_dev *dev, struct sk_buff *skb)
case FPDU_MODE: {
struct c4iw_qp_attributes attrs;
BUG_ON(!ep->com.qp);
- if (
ep->com.qp->attr.state == C4IW_QP_STATE_RTS
)
+ if (
status
)
pr_err("%s Unexpected streaming data." \
" qpid %u ep %p state %d tid %u status %d\n",
__func__, ep->com.qp->wq.sq.qid, ep,