[PATCH v1 22/24] RDMA/rxe: Add implementation of clone_pd callback

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

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

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

diff --git a/drivers/infiniband/sw/rxe/rxe_verbs.c b/drivers/infiniband/sw/rxe/rxe_verbs.c
index 3c4a0b89f28f..ec2cade76372 100644
--- a/drivers/infiniband/sw/rxe/rxe_verbs.c
+++ b/drivers/infiniband/sw/rxe/rxe_verbs.c
@@ -1150,6 +1150,7 @@ static const struct ib_device_ops rxe_dev_ops = {

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

INIT_RDMA_OBJ_SIZE(ib_ah, rxe_ah, ibah),
INIT_RDMA_OBJ_SIZE(ib_cq, rxe_cq, ibcq),
--
2.20.1