diff options
author | Parav Pandit <parav.pandit@emulex.com> | 2012-05-23 17:32:07 +0200 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2012-05-29 21:49:36 +0200 |
commit | cd4fedf9cfe2d453148dce0f105a41725e5107a3 (patch) | |
tree | 4564eb25bb7870a1cc00317b030edae84143ed65 /drivers/infiniband/hw/ocrdma/ocrdma_abi.h | |
parent | Merge tag 'rdma-for-3.5' of git://git.kernel.org/pub/scm/linux/kernel/git/rol... (diff) | |
download | linux-cd4fedf9cfe2d453148dce0f105a41725e5107a3.tar.xz linux-cd4fedf9cfe2d453148dce0f105a41725e5107a3.zip |
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>
Diffstat (limited to 'drivers/infiniband/hw/ocrdma/ocrdma_abi.h')
-rw-r--r-- | drivers/infiniband/hw/ocrdma/ocrdma_abi.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/infiniband/hw/ocrdma/ocrdma_abi.h b/drivers/infiniband/hw/ocrdma/ocrdma_abi.h index a411a4e3193d..517ab20b727c 100644 --- a/drivers/infiniband/hw/ocrdma/ocrdma_abi.h +++ b/drivers/infiniband/hw/ocrdma/ocrdma_abi.h @@ -101,8 +101,6 @@ struct ocrdma_create_qp_uresp { u32 rsvd1; u32 num_wqe_allocated; u32 num_rqe_allocated; - u32 free_wqe_delta; - u32 free_rqe_delta; u32 db_sq_offset; u32 db_rq_offset; u32 db_shift; @@ -126,8 +124,7 @@ struct ocrdma_create_srq_uresp { u32 db_rq_offset; u32 db_shift; - u32 free_rqe_delta; - u32 rsvd2; + u64 rsvd2; u64 rsvd3; } __packed; |