1 /* SPDX-License-Identifier: GPL-2.0 or BSD-3-Clause */
2 /*
3  * Copyright(c) 2016 Intel Corporation.
4  */
5 
6 #ifndef DEF_RVTMCAST_H
7 #define DEF_RVTMCAST_H
8 
9 #include <rdma/rdma_vt.h>
10 
11 void rvt_driver_mcast_init(struct rvt_dev_info *rdi);
12 int rvt_attach_mcast(struct ib_qp *ibqp, union ib_gid *gid, u16 lid);
13 int rvt_detach_mcast(struct ib_qp *ibqp, union ib_gid *gid, u16 lid);
14 int rvt_mcast_tree_empty(struct rvt_dev_info *rdi);
15 
16 #endif          /* DEF_RVTMCAST_H */
17