[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 inse

Re: [PATCH] IW_CXGB4: Fix iw_cxgb4 recv cqe

2011-10-13 Thread Roland Dreier
On Thu, Oct 13, 2011 at 11:15 AM, Jonathan Lallinger wrote: > Upon completion of a work request on the recieve queue the > IW_CXGB4 driver was incorrectly posting a completion back to > the recieve queue instead of the send queue Wait, what? On a receive completion you want to add a completion t

[PATCH] IW_CXGB4: Fix iw_cxgb4 recv cqe

2011-10-13 Thread Jonathan Lallinger
Upon completion of a work request on the recieve queue the IW_CXGB4 driver was incorrectly posting a completion back to the recieve queue instead of the send queue. This resulted in hanging worker threads because they were never notified that the work requests were completed. This change fixes t