xref: /openbmc/qemu/hw/rdma/vmw/pvrdma_qp_ops.h (revision 99d46107)
1 /*
2  * QEMU VMWARE paravirtual RDMA QP Operations
3  *
4  * Copyright (C) 2018 Oracle
5  * Copyright (C) 2018 Red Hat Inc
6  *
7  * Authors:
8  *     Yuval Shaia <yuval.shaia@oracle.com>
9  *     Marcel Apfelbaum <marcel@redhat.com>
10  *
11  * This work is licensed under the terms of the GNU GPL, version 2 or later.
12  * See the COPYING file in the top-level directory.
13  *
14  */
15 
16 #ifndef PVRDMA_QP_H
17 #define PVRDMA_QP_H
18 
19 #include "pvrdma.h"
20 
21 int pvrdma_qp_ops_init(void);
22 void pvrdma_qp_ops_fini(void);
23 void pvrdma_qp_send(PVRDMADev *dev, uint32_t qp_handle);
24 void pvrdma_qp_recv(PVRDMADev *dev, uint32_t qp_handle);
25 void pvrdma_cq_poll(RdmaDeviceResources *dev_res, uint32_t cq_handle);
26 
27 #endif
28