vhost: fix add a missing include
Checks
Commit Message
Add a missing include with the defines for vhost-user driver features.
Fixes: 5fbb3941da9f ("vhost: introduce driver features related APIs")
Cc: stable@dpdk.org
Signed-off-by: Noa Ezra <noae@mellanox.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Reviewed-by: Matan Azrad <matan@mellanox.com>
---
lib/librte_vhost/rte_vhost.h | 1 +
1 file changed, 1 insertion(+)
mode change 100644 => 100755 lib/librte_vhost/rte_vhost.h
old mode 100644
new mode 100755
@@ -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)