net/virtio: support vhost-user protocol features
[dpdk.git] / drivers / net / virtio / virtio_user / vhost.h
index 1e784e5..9ace1a9 100644 (file)
@@ -44,6 +44,15 @@ struct vhost_vring_addr {
        uint64_t log_guest_addr;
 };
 
+#ifndef VHOST_USER_F_PROTOCOL_FEATURES
+#define VHOST_USER_F_PROTOCOL_FEATURES 30
+#endif
+
+/** Protocol features. */
+#ifndef VHOST_USER_PROTOCOL_F_MQ
+#define VHOST_USER_PROTOCOL_F_MQ       0
+#endif
+
 enum vhost_user_request {
        VHOST_USER_NONE = 0,
        VHOST_USER_GET_FEATURES = 1,