xref: /kernel/linux/linux-6.6/drivers/infiniband/sw/rdmavt/cq.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/drivers/infiniband/sw/rdmavt/
162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 or BSD-3-Clause */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Copyright(c) 2016 - 2018 Intel Corporation.
462306a36Sopenharmony_ci */
562306a36Sopenharmony_ci
662306a36Sopenharmony_ci#ifndef DEF_RVTCQ_H
762306a36Sopenharmony_ci#define DEF_RVTCQ_H
862306a36Sopenharmony_ci
962306a36Sopenharmony_ci#include <rdma/rdma_vt.h>
1062306a36Sopenharmony_ci#include <rdma/rdmavt_cq.h>
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ciint rvt_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr,
1362306a36Sopenharmony_ci		  struct ib_udata *udata);
1462306a36Sopenharmony_ciint rvt_destroy_cq(struct ib_cq *ibcq, struct ib_udata *udata);
1562306a36Sopenharmony_ciint rvt_req_notify_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags notify_flags);
1662306a36Sopenharmony_ciint rvt_resize_cq(struct ib_cq *ibcq, int cqe, struct ib_udata *udata);
1762306a36Sopenharmony_ciint rvt_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *entry);
1862306a36Sopenharmony_ciint rvt_driver_cq_init(void);
1962306a36Sopenharmony_civoid rvt_cq_exit(void);
2062306a36Sopenharmony_ci#endif          /* DEF_RVTCQ_H */
21

Indexes created Thu Nov 07 10:32:03 CST 2024