2021-08-23 10:35:30 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 or BSD-3-Clause */
|
2016-01-07 01:57:58 +08:00
|
|
|
/*
|
2016-01-23 05:04:58 +08:00
|
|
|
* Copyright(c) 2016 Intel Corporation.
|
2016-01-07 01:57:58 +08:00
|
|
|
*/
|
|
|
|
|
2021-08-23 10:35:30 +08:00
|
|
|
#ifndef DEF_RVTSRQ_H
|
|
|
|
#define DEF_RVTSRQ_H
|
|
|
|
|
2016-01-07 01:57:58 +08:00
|
|
|
#include <rdma/rdma_vt.h>
|
2016-02-04 06:14:36 +08:00
|
|
|
void rvt_driver_srq_init(struct rvt_dev_info *rdi);
|
2019-04-03 21:42:43 +08:00
|
|
|
int rvt_create_srq(struct ib_srq *ibsrq, struct ib_srq_init_attr *srq_init_attr,
|
|
|
|
struct ib_udata *udata);
|
2016-01-07 01:57:58 +08:00
|
|
|
int rvt_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr,
|
|
|
|
enum ib_srq_attr_mask attr_mask,
|
|
|
|
struct ib_udata *udata);
|
|
|
|
int rvt_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr);
|
2020-09-07 20:09:16 +08:00
|
|
|
int rvt_destroy_srq(struct ib_srq *ibsrq, struct ib_udata *udata);
|
2016-01-07 01:57:58 +08:00
|
|
|
|
|
|
|
#endif /* DEF_RVTSRQ_H */
|