RDMA/ocrdma: Correct queue free count math
authorParav Pandit <parav.pandit@emulex.com>
Wed, 23 May 2012 15:32:07 +0000 (21:02 +0530)
committerRoland Dreier <roland@purestorage.com>
Tue, 29 May 2012 19:49:36 +0000 (12:49 -0700)
commitcd4fedf9cfe2d453148dce0f105a41725e5107a3
tree4564eb25bb7870a1cc00317b030edae84143ed65
parentc23ddf7857bdb2e8001b0a058603497c765a580d
RDMA/ocrdma: Correct queue free count math

Correct queue free count math for SQ, RQ for all hardware type.
Update user-kernel ABI interface.

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