]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd7f6b5fc9df4f04e137f4994e673d171b37a86e8
treec0b625a86ddb2298c55349b1521e7f2f9d0c7c3d
parent02e1291cdb93c40998b7fc2698b0b8b989c6d721
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