RDMA/cxgb4: Fix iw_cxgb4 count_rcqes() logic
authorJonathan Lallinger <jonathan@ogc.us>
Thu, 20 Oct 2011 18:25:14 +0000 (13:25 -0500)
committerRoland Dreier <roland@purestorage.com>
Mon, 28 Nov 2011 19:53:05 +0000 (11:53 -0800)
commitc34c97ad8c7c3cdacab2327235c2df4454ff1a06
tree846a82fd59ecd0d4730d91c1023584be0b1e8d40
parent1ea6b8f48918282bdca0b32a34095504ee65bab5
RDMA/cxgb4: Fix iw_cxgb4 count_rcqes() logic

Fix another place in the code where logic dealing with the t4_cqe was
using the wrong QID.  This 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 <jonathan@ogc.us>
Signed-off by: Steve Wise <swise@ogc.us>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/cxgb4/cq.c