]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/ocrdma: Remove hardcoding of the max DPP QPs supported
authorDevesh Sharma <devesh.sharma@emulex.com>
Tue, 10 Jun 2014 14:02:17 +0000 (19:32 +0530)
committerRoland Dreier <roland@purestorage.com>
Fri, 1 Aug 2014 22:07:36 +0000 (15:07 -0700)
commitb77c1d20c7ec78d9f94b169e12fb68ebe71d2e10
tree882f4b390bf4b6b5991f532c58f3e85d840e1893
parentdb64dbb3b566f10458814760d8630b4417ef7671
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>
drivers/infiniband/hw/ocrdma/ocrdma_sli.h
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c