diff options
author | Sagi Grimberg <sagig@mellanox.com> | 2015-07-30 10:32:43 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2015-08-30 18:08:47 -0400 |
commit | cacb7d59bed3fd9f65d6ba1a4ea948ce8baa9126 (patch) | |
tree | 5c68343406d6ca4e68ff9120c8dbf2ae4c987def /drivers/infiniband/hw/ocrdma/ocrdma_verbs.h | |
parent | 679e34d1d050fc67f2ab157ebf8553dddc216c55 (diff) | |
download | lwn-cacb7d59bed3fd9f65d6ba1a4ea948ce8baa9126.tar.gz lwn-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_verbs.h')
-rw-r--r-- | drivers/infiniband/hw/ocrdma/ocrdma_verbs.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/ocrdma/ocrdma_verbs.h b/drivers/infiniband/hw/ocrdma/ocrdma_verbs.h index eaccb2d3cb9f..68e026bb14d0 100644 --- a/drivers/infiniband/hw/ocrdma/ocrdma_verbs.h +++ b/drivers/infiniband/hw/ocrdma/ocrdma_verbs.h @@ -111,7 +111,9 @@ struct ib_mr *ocrdma_reg_kernel_mr(struct ib_pd *, int num_phys_buf, int acc, u64 *iova_start); struct ib_mr *ocrdma_reg_user_mr(struct ib_pd *, u64 start, u64 length, u64 virt, int acc, struct ib_udata *); -struct ib_mr *ocrdma_alloc_frmr(struct ib_pd *pd, int max_page_list_len); +struct ib_mr *ocrdma_alloc_mr(struct ib_pd *pd, + enum ib_mr_type mr_type, + u32 max_num_sg); struct ib_fast_reg_page_list *ocrdma_alloc_frmr_page_list(struct ib_device *ibdev, int page_list_len); |