Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
21 lines
699 B
C
21 lines
699 B
C
/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
|
|
/*
|
|
* Copyright(c) 2016 - 2018 Intel Corporation.
|
|
*/
|
|
|
|
#ifndef DEF_RVTCQ_H
|
|
#define DEF_RVTCQ_H
|
|
|
|
#include <rdma/rdma_vt.h>
|
|
#include <rdma/rdmavt_cq.h>
|
|
|
|
int rvt_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr,
|
|
struct uverbs_attr_bundle *attrs);
|
|
int rvt_destroy_cq(struct ib_cq *ibcq, struct ib_udata *udata);
|
|
int rvt_req_notify_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags notify_flags);
|
|
int rvt_resize_cq(struct ib_cq *ibcq, int cqe, struct ib_udata *udata);
|
|
int rvt_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *entry);
|
|
int rvt_driver_cq_init(void);
|
|
void rvt_cq_exit(void);
|
|
#endif /* DEF_RVTCQ_H */
|