355b7cf356
Implement the pvrdma device commands for supporting SRQ Signed-off-by: Kamal Heib <kamalheib1@gmail.com> Message-Id: <20190403113343.26384-5-kamalheib1@gmail.com> Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com> Signed-off-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
29 lines
733 B
C
29 lines
733 B
C
/*
|
|
* 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.
|
|
*
|
|
*/
|
|
|
|
#ifndef PVRDMA_QP_H
|
|
#define PVRDMA_QP_H
|
|
|
|
#include "pvrdma.h"
|
|
|
|
int pvrdma_qp_ops_init(void);
|
|
void pvrdma_qp_ops_fini(void);
|
|
void pvrdma_qp_send(PVRDMADev *dev, uint32_t qp_handle);
|
|
void pvrdma_qp_recv(PVRDMADev *dev, uint32_t qp_handle);
|
|
void pvrdma_srq_recv(PVRDMADev *dev, uint32_t srq_handle);
|
|
void pvrdma_cq_poll(RdmaDeviceResources *dev_res, uint32_t cq_handle);
|
|
|
|
#endif
|