22 lines
513 B
C
22 lines
513 B
C
/*
|
|
* vhost-vdpa.h
|
|
*
|
|
* Copyright(c) 2017-2018 Intel Corporation.
|
|
* Copyright(c) 2020 Red Hat, Inc.
|
|
*
|
|
* 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 VHOST_VDPA_H
|
|
#define VHOST_VDPA_H
|
|
|
|
#define TYPE_VHOST_VDPA "vhost-vdpa"
|
|
|
|
struct vhost_net *vhost_vdpa_get_vhost_net(NetClientState *nc);
|
|
uint64_t vhost_vdpa_get_acked_features(NetClientState *nc);
|
|
|
|
extern const int vdpa_feature_bits[];
|
|
|
|
#endif /* VHOST_VDPA_H */
|