[PATCH] IW_CXGB4: Fix iw_cxgb4 count_rcqes logic

2011-10-20 Thread Jonathan Lallinger
Fixes another place in the code where logic dealing with the t4_cqe was using the wrong QID. This change fixes the counting logic so that it tests against the SQ QID instead of the RQ QID when counting RCQES Signed-off by: Jonathan Lallinger Signed-off by: Steve Wise --- drivers/infiniband/hw

[PATCH] IW_CXGB4: Fix iw_cxgb4 recv cqe

2011-10-13 Thread Jonathan Lallinger
When creating flushed recv CQEs, set the QPID field in the t4_cqe to the SQ QID and not the RQ QID. Otherwise the poll code will not find the correct qp context. Signed-off by: Jonathan Lallinger Signed-off by: Steve Wise --- drivers/infiniband/hw/cxgb4/cq.c |2 +- 1 files changed, 1

[PATCH] IW_CXGB4: Fix iw_cxgb4 recv cqe

2011-10-13 Thread Jonathan Lallinger
the logic so that insert_recv_cqe posts to the correct queue. Signed-off by: Jonathan Lallinger Signed-off by: Steve Wise --- drivers/infiniband/hw/cxgb4/cq.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/infiniband/hw/cxgb4/cq.c b/drivers/infiniband/hw/cxgb4