mirror of
https://github.com/xemu-project/xemu.git
synced 2024-12-12 05:56:06 +00:00
23 lines
513 B
C
23 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 */
|