libqtest: Inline g_assert_no_errno()
[qemu/armbru.git] / hw / rdma / vmw / pvrdma_qp_ops.h
blobac46bf7fdfa8f9be38c887a39f6ed838bb979a26
1 /*
2 * QEMU VMWARE paravirtual RDMA QP Operations
4 * Copyright (C) 2018 Oracle
5 * Copyright (C) 2018 Red Hat Inc
7 * Authors:
8 * Yuval Shaia <yuval.shaia@oracle.com>
9 * Marcel Apfelbaum <marcel@redhat.com>
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.
16 #ifndef PVRDMA_QP_H
17 #define PVRDMA_QP_H
19 #include "pvrdma.h"
21 int pvrdma_qp_ops_init(void);
22 void pvrdma_qp_ops_fini(void);
23 int pvrdma_qp_send(PVRDMADev *dev, uint32_t qp_handle);
24 int pvrdma_qp_recv(PVRDMADev *dev, uint32_t qp_handle);
25 void pvrdma_cq_poll(RdmaDeviceResources *dev_res, uint32_t cq_handle);
27 #endif