aboutsummaryrefslogtreecommitdiff
path: root/include/net/vhost-vdpa.h
blob: 45e34b7cfcf60974ba8d41bbf806da8e29a9a190 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * 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 */