| .. | .. |
|---|
| 51 | 51 | OCRDMA_AH_L3_TYPE_SHIFT = 0x1D /* 29 bits */ |
|---|
| 52 | 52 | }; |
|---|
| 53 | 53 | |
|---|
| 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); |
|---|
| 57 | 57 | int ocrdma_query_ah(struct ib_ah *ah, struct rdma_ah_attr *ah_attr); |
|---|
| 58 | 58 | |
|---|
| 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, |
|---|
| 66 | 63 | u16 *out_mad_pkey_index); |
|---|
| 67 | 64 | #endif /* __OCRDMA_AH_H__ */ |
|---|