On 06/29/2018 05:47 PM, Tiwei Bie wrote:
On Fri, Jun 22, 2018 at 03:43:13PM +0200, Maxime Coquelin wrote:
From: Jens Freimann<jfreim...@redhat.com>

Signed-off-by: Jens Freimann<jfreim...@redhat.com>
---
  lib/librte_vhost/vhost.h         |  4 ++++
  lib/librte_vhost/virtio-packed.h | 22 ++++++++++++++++++++++
  2 files changed, 26 insertions(+)
  create mode 100644 lib/librte_vhost/virtio-packed.h

diff --git a/lib/librte_vhost/vhost.h b/lib/librte_vhost/vhost.h
index 3f8fa3a78..bf2059198 100644
--- a/lib/librte_vhost/vhost.h
+++ b/lib/librte_vhost/vhost.h
@@ -191,6 +191,10 @@ struct vhost_msg {
  #ifndef VIRTIO_F_VERSION_1
   #define VIRTIO_F_VERSION_1 32
  #endif
+#ifndef VIRTIO_F_RING_PACKED
+ #define VIRTIO_F_RING_PACKED 34
+#endif
+#define VHOST_USER_F_PROTOCOL_FEATURES 30
VHOST_USER_F_PROTOCOL_FEATURES has already been
defined in rte_vhost.h which has been included
in this file.

Good catch!

Thanks,
Maxime

Reply via email to