srq.h (640B)
1/* SPDX-License-Identifier: GPL-2.0 or BSD-3-Clause */ 2/* 3 * Copyright(c) 2016 Intel Corporation. 4 */ 5 6#ifndef DEF_RVTSRQ_H 7#define DEF_RVTSRQ_H 8 9#include <rdma/rdma_vt.h> 10void rvt_driver_srq_init(struct rvt_dev_info *rdi); 11int rvt_create_srq(struct ib_srq *ibsrq, struct ib_srq_init_attr *srq_init_attr, 12 struct ib_udata *udata); 13int rvt_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr, 14 enum ib_srq_attr_mask attr_mask, 15 struct ib_udata *udata); 16int rvt_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr); 17int rvt_destroy_srq(struct ib_srq *ibsrq, struct ib_udata *udata); 18 19#endif /* DEF_RVTSRQ_H */