[dpdk-stable] [PATCH v2] vhost: fix add a missing include
Noa Ezra
noae at mellanox.com
Thu Jun 20 07:44:41 CEST 2019
Add a missing include with the defines for vhost-user driver features.
Fixes: 5fbb3941da9f ("vhost: introduce driver features related APIs")
Cc: stable at dpdk.org
Signed-off-by: Noa Ezra <noae at mellanox.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>
Reviewed-by: Matan Azrad <matan at mellanox.com>
---
v2 remove checkpatch warnings
---
lib/librte_vhost/rte_vhost.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/librte_vhost/rte_vhost.h b/lib/librte_vhost/rte_vhost.h
index 0226b3e..338e47c 100644
--- a/lib/librte_vhost/rte_vhost.h
+++ b/lib/librte_vhost/rte_vhost.h
@@ -23,6 +23,7 @@
/* These are not C++-aware. */
#include <linux/vhost.h>
#include <linux/virtio_ring.h>
+#include <linux/virtio_net.h>
#define RTE_VHOST_USER_CLIENT (1ULL << 0)
#define RTE_VHOST_USER_NO_RECONNECT (1ULL << 1)
--
1.8.3.1
More information about the stable
mailing list