]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit175336a1555a93b319dc1d5b942ae1da53a6fdff
tree846a82fd59ecd0d4730d91c1023584be0b1e8d40
parentee62ff854712868eaa83b506713bfd0a11c5dead
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