From: Noa Ezra <noae@mellanox.com>
To: maxime.coquelin@redhat.com
Cc: matan@mellanox.com, dev@dpdk.org, noae@mellanox.com, stable@dpdk.org
Subject: [dpdk-dev] [PATCH] vhost: fix add a missing include
Date: Wed, 19 Jun 2019 06:08:34 +0000 [thread overview]
Message-ID: <1560924514-220305-1-git-send-email-noae@mellanox.com> (raw)
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
diff --git a/lib/librte_vhost/rte_vhost.h b/lib/librte_vhost/rte_vhost.h
old mode 100644
new mode 100755
index 0226b3e..338e47c
--- 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
next reply other threads:[~2019-06-19 6:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-19 6:08 Noa Ezra [this message]
2019-06-20 5:44 ` [dpdk-dev] [PATCH v2] " Noa Ezra
2019-06-20 9:57 ` Maxime Coquelin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1560924514-220305-1-git-send-email-noae@mellanox.com \
--to=noae@mellanox.com \
--cc=dev@dpdk.org \
--cc=matan@mellanox.com \
--cc=maxime.coquelin@redhat.com \
--cc=stable@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).