]> 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)
commita65469d6b2aa4a8138302c2968c02671ca31bcc1
tree846a82fd59ecd0d4730d91c1023584be0b1e8d40
parent5c83bc36fbfc8fd80bc8d0dd817f296b1515fe47
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