162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 or BSD-3-Clause */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Copyright(c) 2016 Intel Corporation. 462306a36Sopenharmony_ci */ 562306a36Sopenharmony_ci 662306a36Sopenharmony_ci#ifndef DEF_RVTSRQ_H 762306a36Sopenharmony_ci#define DEF_RVTSRQ_H 862306a36Sopenharmony_ci 962306a36Sopenharmony_ci#include <rdma/rdma_vt.h> 1062306a36Sopenharmony_civoid rvt_driver_srq_init(struct rvt_dev_info *rdi); 1162306a36Sopenharmony_ciint rvt_create_srq(struct ib_srq *ibsrq, struct ib_srq_init_attr *srq_init_attr, 1262306a36Sopenharmony_ci struct ib_udata *udata); 1362306a36Sopenharmony_ciint rvt_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr, 1462306a36Sopenharmony_ci enum ib_srq_attr_mask attr_mask, 1562306a36Sopenharmony_ci struct ib_udata *udata); 1662306a36Sopenharmony_ciint rvt_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr); 1762306a36Sopenharmony_ciint rvt_destroy_srq(struct ib_srq *ibsrq, struct ib_udata *udata); 1862306a36Sopenharmony_ci 1962306a36Sopenharmony_ci#endif /* DEF_RVTSRQ_H */ 20