2021-08-23 02:35:30 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 or BSD-3-Clause */
|
2016-01-06 17:58:23 +00:00
|
|
|
/*
|
2016-01-22 21:04:58 +00:00
|
|
|
* Copyright(c) 2016 Intel Corporation.
|
2016-01-06 17:58:23 +00:00
|
|
|
*/
|
|
|
|
|
2021-08-23 02:35:30 +00:00
|
|
|
#ifndef DEF_RVTMCAST_H
|
|
|
|
#define DEF_RVTMCAST_H
|
|
|
|
|
2016-01-06 17:58:23 +00:00
|
|
|
#include <rdma/rdma_vt.h>
|
|
|
|
|
2016-01-22 21:00:55 +00:00
|
|
|
void rvt_driver_mcast_init(struct rvt_dev_info *rdi);
|
2016-01-06 17:58:23 +00:00
|
|
|
int rvt_attach_mcast(struct ib_qp *ibqp, union ib_gid *gid, u16 lid);
|
|
|
|
int rvt_detach_mcast(struct ib_qp *ibqp, union ib_gid *gid, u16 lid);
|
2016-01-22 21:00:55 +00:00
|
|
|
int rvt_mcast_tree_empty(struct rvt_dev_info *rdi);
|
2016-01-06 17:58:23 +00:00
|
|
|
|
|
|
|
#endif /* DEF_RVTMCAST_H */
|