RDMA/ocrdma: Move PD resource management to driver.
authorMitesh Ahuja <mitesh.ahuja@emulex.com>
Thu, 18 Dec 2014 08:42:57 +0000 (14:12 +0530)
committerRoland Dreier <roland@purestorage.com>
Wed, 18 Feb 2015 16:30:59 +0000 (08:30 -0800)
commit9ba1377daa51ff97815fcfb15c26621c7393d1c0
tree1c62545f561167f55b660443ebf931fec0ba8b8f
parent978cb6a4e9a22805c1f7c2af4f5bb296df1fb266
RDMA/ocrdma: Move PD resource management to driver.

Move PD allocation and deallocation from firmware to driver.  At
driver load time all the PDs will be requested from firmware and their
management will be handled by driver to reduce mailbox commands
overhead at runtime.

Signed-off-by: Mitesh Ahuja <mitesh.ahuja@emulex.com>
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.h
drivers/infiniband/hw/ocrdma/ocrdma_hw.c
drivers/infiniband/hw/ocrdma/ocrdma_hw.h
drivers/infiniband/hw/ocrdma/ocrdma_main.c
drivers/infiniband/hw/ocrdma/ocrdma_sli.h
drivers/infiniband/hw/ocrdma/ocrdma_stats.c
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c