DPDK patches and discussions
 help / color / mirror / Atom feed
From: Huawei Xie <huawei.xie@intel.com>
To: dev@dpdk.org
Subject: [dpdk-dev] [PATCH 2/3] lib/librte_vhost: add lib/librte_vhost support in mk/rte.app.mk
Date: Tue,  5 Aug 2014 23:58:05 +0800	[thread overview]
Message-ID: <1407254286-23972-3-git-send-email-huawei.xie@intel.com> (raw)
In-Reply-To: <1407254286-23972-1-git-send-email-huawei.xie@intel.com>

Vhost library is turned off by default as it depends on fuse library. User needs to turn on vhost in configure file manually.

Signed-off-by: Huawei Xie <huawei.xie@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
---
 mk/rte.app.mk | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/mk/rte.app.mk b/mk/rte.app.mk
index 34dff2a..285b65c 100644
--- a/mk/rte.app.mk
+++ b/mk/rte.app.mk
@@ -190,6 +190,11 @@ ifeq ($(CONFIG_RTE_LIBRTE_VIRTIO_PMD),y)
 LDLIBS += -lrte_pmd_virtio_uio
 endif
 
+ifeq ($(CONFIG_RTE_LIBRTE_VHOST), y)
+LDLIBS += -lrte_vhost
+LDLIBS += -lfuse
+endif
+
 ifeq ($(CONFIG_RTE_LIBRTE_I40E_PMD),y)
 LDLIBS += -lrte_pmd_i40e
 endif
-- 
1.8.1.4

  parent reply	other threads:[~2014-08-05 15:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-05 15:58 [dpdk-dev] [PATCH 0/3] vhost example based on user space vhost library Huawei Xie
2014-08-05 15:58 ` [dpdk-dev] [PATCH 1/3] examples/vhost: remove old vhost example Huawei Xie
2014-08-05 15:58 ` Huawei Xie [this message]
2014-08-05 15:58 ` [dpdk-dev] [PATCH 3/3] examples/vhost: add new " Huawei Xie
2014-08-06  3:32   ` Stephen Hemminger
2014-08-06  5:34     ` Xie, Huawei
2014-08-06  3:09 ` [dpdk-dev] [PATCH 0/3] vhost example based on user space vhost library Fu, JingguoX
2014-08-07 14:29 ` Cao, Waterman
2014-08-19  8:50   ` Tahhan, Maryam
2014-08-19  9:06     ` Xie, Huawei
2014-08-19 12:35       ` Tahhan, Maryam

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=1407254286-23972-3-git-send-email-huawei.xie@intel.com \
    --to=huawei.xie@intel.com \
    --cc=dev@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).