Skip to content

Commit

Permalink
vhost: fix missing include
Browse files Browse the repository at this point in the history
Add a missing include with the defines for vhost-user driver features.

Fixes: 5fbb394 ("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>
  • Loading branch information
noaezra authored and Ferruh Yigit committed Jun 20, 2019
1 parent c3a954e commit 346c2c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/librte_vhost/rte_vhost.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ extern "C" {
/* 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)
Expand Down

0 comments on commit 346c2c9

Please sign in to comment.