]>
Commit | Line | Data |
---|---|---|
1e0a84ea CL |
1 | /* |
2 | * vhost-vdpa.h | |
3 | * | |
4 | * Copyright(c) 2017-2018 Intel Corporation. | |
5 | * Copyright(c) 2020 Red Hat, Inc. | |
6 | * | |
7 | * This work is licensed under the terms of the GNU GPL, version 2 or later. | |
8 | * See the COPYING file in the top-level directory. | |
9 | * | |
10 | */ | |
11 | ||
12 | #ifndef VHOST_VDPA_H | |
13 | #define VHOST_VDPA_H | |
14 | ||
15 | #define TYPE_VHOST_VDPA "vhost-vdpa" | |
16 | ||
17 | struct vhost_net *vhost_vdpa_get_vhost_net(NetClientState *nc); | |
18 | uint64_t vhost_vdpa_get_acked_features(NetClientState *nc); | |
19 | ||
20 | extern const int vdpa_feature_bits[]; | |
21 | ||
22 | #endif /* VHOST_VDPA_H */ |