summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/ocrdma/ocrdma_main.c
diff options
context:
space:
mode:
authorSagi Grimberg <sagig@mellanox.com>2015-07-30 10:32:43 +0300
committerDoug Ledford <dledford@redhat.com>2015-08-30 18:08:47 -0400
commitcacb7d59bed3fd9f65d6ba1a4ea948ce8baa9126 (patch)
tree5c68343406d6ca4e68ff9120c8dbf2ae4c987def /drivers/infiniband/hw/ocrdma/ocrdma_main.c
parent679e34d1d050fc67f2ab157ebf8553dddc216c55 (diff)
downloadblackbird-op-linux-cacb7d59bed3fd9f65d6ba1a4ea948ce8baa9126.tar.gz
blackbird-op-linux-cacb7d59bed3fd9f65d6ba1a4ea948ce8baa9126.zip
ocrdma: Support ib_alloc_mr verb
Signed-off-by: Sagi Grimberg <sagig@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/ocrdma/ocrdma_main.c')
-rw-r--r--drivers/infiniband/hw/ocrdma/ocrdma_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/ocrdma/ocrdma_main.c b/drivers/infiniband/hw/ocrdma/ocrdma_main.c
index b119a3413a15..81ed8a342f4d 100644
--- a/drivers/infiniband/hw/ocrdma/ocrdma_main.c
+++ b/drivers/infiniband/hw/ocrdma/ocrdma_main.c
@@ -309,7 +309,7 @@ static int ocrdma_register_device(struct ocrdma_dev *dev)
dev->ibdev.dereg_mr = ocrdma_dereg_mr;
dev->ibdev.reg_user_mr = ocrdma_reg_user_mr;
- dev->ibdev.alloc_fast_reg_mr = ocrdma_alloc_frmr;
+ dev->ibdev.alloc_mr = ocrdma_alloc_mr;
dev->ibdev.alloc_fast_reg_page_list = ocrdma_alloc_frmr_page_list;
dev->ibdev.free_fast_reg_page_list = ocrdma_free_frmr_page_list;
OpenPOWER on IntegriCloud