forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/infiniband/hw/ocrdma/ocrdma_ah.h
....@@ -51,17 +51,14 @@
5151 OCRDMA_AH_L3_TYPE_SHIFT = 0x1D /* 29 bits */
5252 };
5353
54
-struct ib_ah *ocrdma_create_ah(struct ib_pd *pd, struct rdma_ah_attr *ah_attr,
55
- struct ib_udata *udata);
56
-int ocrdma_destroy_ah(struct ib_ah *ah);
54
+int ocrdma_create_ah(struct ib_ah *ah, struct rdma_ah_init_attr *init_attr,
55
+ struct ib_udata *udata);
56
+int ocrdma_destroy_ah(struct ib_ah *ah, u32 flags);
5757 int ocrdma_query_ah(struct ib_ah *ah, struct rdma_ah_attr *ah_attr);
5858
59
-int ocrdma_process_mad(struct ib_device *,
60
- int process_mad_flags,
61
- u8 port_num,
62
- const struct ib_wc *in_wc,
63
- const struct ib_grh *in_grh,
64
- const struct ib_mad_hdr *in, size_t in_mad_size,
65
- struct ib_mad_hdr *out, size_t *out_mad_size,
59
+int ocrdma_process_mad(struct ib_device *dev, int process_mad_flags,
60
+ u8 port_num, const struct ib_wc *in_wc,
61
+ const struct ib_grh *in_grh, const struct ib_mad *in,
62
+ struct ib_mad *out, size_t *out_mad_size,
6663 u16 *out_mad_pkey_index);
6764 #endif /* __OCRDMA_AH_H__ */