]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/virtio/virtio_user/virtio_user_dev.h
net/mlx5: make VLAN network interface thread safe
[dpdk.git] / drivers / net / virtio / virtio_user / virtio_user_dev.h
index 575bf430c07b5b8c81edbd96367e61c3282ef8b8..3e9d1a1eb337f94256cf60e5c64ed754a32ce835 100644 (file)
@@ -14,6 +14,7 @@ enum virtio_user_backend_type {
        VIRTIO_USER_BACKEND_UNKNOWN,
        VIRTIO_USER_BACKEND_VHOST_USER,
        VIRTIO_USER_BACKEND_VHOST_KERNEL,
+       VIRTIO_USER_BACKEND_VHOST_VDPA,
 };
 
 struct virtio_user_queue {
@@ -67,6 +68,7 @@ struct virtio_user_dev {
        bool            started;
 };
 
+int virtio_user_dev_set_features(struct virtio_user_dev *dev);
 int virtio_user_start_device(struct virtio_user_dev *dev);
 int virtio_user_stop_device(struct virtio_user_dev *dev);
 int virtio_user_dev_init(struct virtio_user_dev *dev, char *path, int queues,