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