forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f70575805708cabdedea7498aaa3f710fde4d920
kernel/drivers/infiniband/sw/rdmavt/cq.h
....@@ -51,11 +51,9 @@
5151 #include <rdma/rdma_vt.h>
5252 #include <rdma/rdmavt_cq.h>
5353
54
-struct ib_cq *rvt_create_cq(struct ib_device *ibdev,
55
- const struct ib_cq_init_attr *attr,
56
- struct ib_ucontext *context,
57
- struct ib_udata *udata);
58
-int rvt_destroy_cq(struct ib_cq *ibcq);
54
+int rvt_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr,
55
+ struct ib_udata *udata);
56
+int rvt_destroy_cq(struct ib_cq *ibcq, struct ib_udata *udata);
5957 int rvt_req_notify_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags notify_flags);
6058 int rvt_resize_cq(struct ib_cq *ibcq, int cqe, struct ib_udata *udata);
6159 int rvt_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *entry);