1 /* SPDX-License-Identifier: GPL-2.0 or BSD-3-Clause */ 2 /* 3 * Copyright(c) 2016 Intel Corporation. 4 */ 5 6 #ifndef DEF_RVTAH_H 7 #define DEF_RVTAH_H 8 9 #include <rdma/rdma_vt.h> 10 11 int rvt_create_ah(struct ib_ah *ah, struct rdma_ah_init_attr *init_attr, 12 struct ib_udata *udata); 13 int rvt_destroy_ah(struct ib_ah *ibah, u32 destroy_flags); 14 int rvt_modify_ah(struct ib_ah *ibah, struct rdma_ah_attr *ah_attr); 15 int rvt_query_ah(struct ib_ah *ibah, struct rdma_ah_attr *ah_attr); 16 17 #endif /* DEF_RVTAH_H */ 18