2018-02-09 16:39:19 +03:00
|
|
|
/*
|
|
|
|
* QEMU VMWARE paravirtual RDMA QP Operations
|
|
|
|
*
|
|
|
|
* Copyright (C) 2018 Oracle
|
|
|
|
* Copyright (C) 2018 Red Hat Inc
|
|
|
|
*
|
|
|
|
* Authors:
|
|
|
|
* Yuval Shaia <yuval.shaia@oracle.com>
|
|
|
|
* Marcel Apfelbaum <marcel@redhat.com>
|
|
|
|
*
|
|
|
|
* This work is licensed under the terms of the GNU GPL, version 2 or later.
|
|
|
|
* See the COPYING file in the top-level directory.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2019-03-15 17:51:20 +03:00
|
|
|
#ifndef PVRDMA_QP_OPS_H
|
|
|
|
#define PVRDMA_QP_OPS_H
|
2018-02-09 16:39:19 +03:00
|
|
|
|
|
|
|
#include "pvrdma.h"
|
|
|
|
|
|
|
|
int pvrdma_qp_ops_init(void);
|
|
|
|
void pvrdma_qp_ops_fini(void);
|
2019-01-09 23:21:40 +03:00
|
|
|
void pvrdma_qp_send(PVRDMADev *dev, uint32_t qp_handle);
|
|
|
|
void pvrdma_qp_recv(PVRDMADev *dev, uint32_t qp_handle);
|
2019-04-03 14:33:43 +03:00
|
|
|
void pvrdma_srq_recv(PVRDMADev *dev, uint32_t srq_handle);
|
2018-02-09 16:39:19 +03:00
|
|
|
void pvrdma_cq_poll(RdmaDeviceResources *dev_res, uint32_t cq_handle);
|
|
|
|
|
|
|
|
#endif
|