RDMA/ocrdma: Prevent allocation of DPP PDs if FW doesnt support it
authorMitesh Ahuja <mitesh.ahuja@avagotech.com>
Tue, 19 May 2015 06:02:37 +0000 (11:32 +0530)
committerDoug Ledford <dledford@redhat.com>
Mon, 18 May 2015 14:25:24 +0000 (10:25 -0400)
commit59582d86e23f30466413a04cc4db678b09f937ea
treec0b625a86ddb2298c55349b1521e7f2f9d0c7c3d
parent038ab8b7432c0280f064a47173dc5b6412243674
RDMA/ocrdma: Prevent allocation of DPP PDs if FW doesnt support it

If DPP PDs are not supported by the FW, allocate only normal PDs.

Signed-off-by: Mitesh Ahuja <mitesh.ahuja@avagotech.com>
Signed-off-by: Padmanabh Ratnakar <padmanabh.ratnakar@avagotech.com>
Signed-off-by: Selvin Xavier <selvin.xavier@avagotech.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/ocrdma/ocrdma_hw.c
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c