Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 or BSD-3-Clause */
0002 /*
0003  * Copyright(c) 2016 - 2018 Intel Corporation.
0004  */
0005 
0006 #ifndef DEF_RVTCQ_H
0007 #define DEF_RVTCQ_H
0008 
0009 #include <rdma/rdma_vt.h>
0010 #include <rdma/rdmavt_cq.h>
0011 
0012 int rvt_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr,
0013           struct ib_udata *udata);
0014 int rvt_destroy_cq(struct ib_cq *ibcq, struct ib_udata *udata);
0015 int rvt_req_notify_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags notify_flags);
0016 int rvt_resize_cq(struct ib_cq *ibcq, int cqe, struct ib_udata *udata);
0017 int rvt_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *entry);
0018 int rvt_driver_cq_init(void);
0019 void rvt_cq_exit(void);
0020 #endif          /* DEF_RVTCQ_H */