| .. | .. |
|---|
| 122 | 122 | u32 pd_id, int acc); |
|---|
| 123 | 123 | int ocrdma_mbx_create_cq(struct ocrdma_dev *, struct ocrdma_cq *, |
|---|
| 124 | 124 | 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); |
|---|
| 126 | 126 | |
|---|
| 127 | 127 | int ocrdma_mbx_create_qp(struct ocrdma_qp *, struct ib_qp_init_attr *attrs, |
|---|
| 128 | 128 | u8 enable_dpp_cq, u16 dpp_cq_id, u16 *dpp_offset, |
|---|
| .. | .. |
|---|
| 137 | 137 | struct ocrdma_pd *); |
|---|
| 138 | 138 | int ocrdma_mbx_modify_srq(struct ocrdma_srq *, struct ib_srq_attr *); |
|---|
| 139 | 139 | 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); |
|---|
| 141 | 141 | |
|---|
| 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); |
|---|
| 144 | 144 | |
|---|
| 145 | 145 | int ocrdma_qp_state_change(struct ocrdma_qp *, enum ib_qp_state new_state, |
|---|
| 146 | 146 | enum ib_qp_state *old_ib_state); |
|---|