RDMA/cxgb4: Fix accounting for unsignaled SQ WRs to deal with wrap
authorSteve Wise <swise@opengridcomputing.com>
Tue, 6 Aug 2013 15:34:36 +0000 (21:04 +0530)
committerRoland Dreier <roland@purestorage.com>
Tue, 13 Aug 2013 18:55:46 +0000 (11:55 -0700)
When determining how many WRs are completed with a signaled CQE,
correctly deal with queue wraps.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Vipul Pandya <vipul@chelsio.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>

No differences found