diff options
author | Devesh Sharma <devesh.sharma@emulex.com> | 2014-06-10 19:32:17 +0530 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2014-08-01 15:07:36 -0700 |
commit | a53d77a33494a3d1d5c797df311c975a05d69ef3 (patch) | |
tree | 882f4b390bf4b6b5991f532c58f3e85d840e1893 /drivers/infiniband/hw/ocrdma/ocrdma_sli.h | |
parent | efe4593720829066667397f540d50baffc706435 (diff) | |
download | op-kernel-dev-a53d77a33494a3d1d5c797df311c975a05d69ef3.zip op-kernel-dev-a53d77a33494a3d1d5c797df311c975a05d69ef3.tar.gz |
RDMA/ocrdma: Remove hardcoding of the max DPP QPs supported
Removing hardcoded value of max dpp qps and calculate the same from
doorbell page size and WQE size.
Signed-off-by: Devesh Sharma <devesh.sharma@emulex.com>
Signed-off-by: Selvin Xavier <selvin.xavier@emulex.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/hw/ocrdma/ocrdma_sli.h')
-rw-r--r-- | drivers/infiniband/hw/ocrdma/ocrdma_sli.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/ocrdma/ocrdma_sli.h b/drivers/infiniband/hw/ocrdma/ocrdma_sli.h index 4defae8..14a84b2 100644 --- a/drivers/infiniband/hw/ocrdma/ocrdma_sli.h +++ b/drivers/infiniband/hw/ocrdma/ocrdma_sli.h @@ -1236,7 +1236,6 @@ struct ocrdma_destroy_srq { enum { OCRDMA_ALLOC_PD_ENABLE_DPP = BIT(16), - OCRDMA_PD_MAX_DPP_ENABLED_QP = 8, OCRDMA_DPP_PAGE_SIZE = 4096 }; |