RDMA/ocrdma: Fix CQE expansion of unsignaled WQE
authorParav Pandit <parav.pandit@emulex.com>
Fri, 17 Aug 2012 14:45:33 +0000 (14:45 +0000)
committerRoland Dreier <roland@purestorage.com>
Fri, 14 Sep 2012 17:40:58 +0000 (10:40 -0700)
commitae3bca90e94dbc9c906321b33f32de4a42a6cdf4
tree1672ab676b578f2e1551daa42f2318c249ca7d6c
parentfea7a08acb13524b47711625eebea40a0ede69a0
RDMA/ocrdma: Fix CQE expansion of unsignaled WQE

Fix CQE expansion of unsignaled WQE -- don't expand the CQE when the
WQE index of the completed CQE matches with last pending WQE (tail) in
the queue.

Signed-off-by: Parav Pandit <parav.pandit@emulex.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c