xref: /linux/drivers/infiniband/sw/rdmavt/mcast.h (revision 24168c5e6dfbdd5b414f048f47f75d64533296ca)
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