在 2022/3/8 22:40, Yajun Deng 写道:
There is no create_user_ah in ib_device_ops, remove it.
In the file include/rdma/ib_verbs.h:
2305 struct ib_device_ops {
...
2431 int (*create_user_ah)(struct ib_ah *ah, struct
rdma_ah_init_attr *attr,
2432 struct ib_udata *udata);
...
create_user_ah exists.
Zhu Yanjun
Signed-off-by: Yajun Deng <yajun.deng@xxxxxxxxx>
---
drivers/infiniband/sw/rxe/rxe_verbs.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/infiniband/sw/rxe/rxe_verbs.c b/drivers/infiniband/sw/rxe/rxe_verbs.c
index 80df9a8f71a1..fa0cf2554425 100644
--- a/drivers/infiniband/sw/rxe/rxe_verbs.c
+++ b/drivers/infiniband/sw/rxe/rxe_verbs.c
@@ -1053,7 +1053,6 @@ static const struct ib_device_ops rxe_dev_ops = {
.create_cq = rxe_create_cq,
.create_qp = rxe_create_qp,
.create_srq = rxe_create_srq,
- .create_user_ah = rxe_create_ah,
.dealloc_driver = rxe_dealloc,
.dealloc_mw = rxe_dealloc_mw,
.dealloc_pd = rxe_dealloc_pd,