[PATCH v1 20/24] IB/mlx4: Add implementation of clone_pd callback

Yuval Shaia
2019-08-21T14:24:04Z

No special handling in for object cloning, utilize the trivial
implementation.

Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com>
---
drivers/infiniband/hw/mlx4/main.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/infiniband/hw/mlx4/main.c b/drivers/infiniband/hw/mlx4/main.c
index d0eef7e2d5a3..3192284a85ca 100644
--- a/drivers/infiniband/hw/mlx4/main.c
+++ b/drivers/infiniband/hw/mlx4/main.c
@@ -2576,6 +2576,7 @@ static const struct ib_device_ops mlx4_ib_dev_ops = {

/* Object sharing callbacks */
.clone_ib_pd = mlx4_ib_clone_pd,
+ .clone_ib_mr = trivial_clone_ib_mr,

INIT_RDMA_OBJ_SIZE(ib_ah, mlx4_ib_ah, ibah),
INIT_RDMA_OBJ_SIZE(ib_cq, mlx4_ib_cq, ibcq),
--
2.20.1