forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/infiniband/hw/ocrdma/ocrdma_hw.h
....@@ -122,7 +122,7 @@
122122 u32 pd_id, int acc);
123123 int ocrdma_mbx_create_cq(struct ocrdma_dev *, struct ocrdma_cq *,
124124 int entries, int dpp_cq, u16 pd_id);
125
-int ocrdma_mbx_destroy_cq(struct ocrdma_dev *, struct ocrdma_cq *);
125
+void ocrdma_mbx_destroy_cq(struct ocrdma_dev *dev, struct ocrdma_cq *cq);
126126
127127 int ocrdma_mbx_create_qp(struct ocrdma_qp *, struct ib_qp_init_attr *attrs,
128128 u8 enable_dpp_cq, u16 dpp_cq_id, u16 *dpp_offset,
....@@ -137,10 +137,10 @@
137137 struct ocrdma_pd *);
138138 int ocrdma_mbx_modify_srq(struct ocrdma_srq *, struct ib_srq_attr *);
139139 int ocrdma_mbx_query_srq(struct ocrdma_srq *, struct ib_srq_attr *);
140
-int ocrdma_mbx_destroy_srq(struct ocrdma_dev *, struct ocrdma_srq *);
140
+void ocrdma_mbx_destroy_srq(struct ocrdma_dev *dev, struct ocrdma_srq *srq);
141141
142
-int ocrdma_alloc_av(struct ocrdma_dev *, struct ocrdma_ah *);
143
-int ocrdma_free_av(struct ocrdma_dev *, struct ocrdma_ah *);
142
+int ocrdma_alloc_av(struct ocrdma_dev *dev, struct ocrdma_ah *ah);
143
+void ocrdma_free_av(struct ocrdma_dev *dev, struct ocrdma_ah *ah);
144144
145145 int ocrdma_qp_state_change(struct ocrdma_qp *, enum ib_qp_state new_state,
146146 enum ib_qp_state *old_ib_state);