All of lore.kernel.org
 help / color / mirror / Atom feed
From: Huawei Xie <huawei.xie-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
To: dev-VfR2kkLFssw@public.gmane.org
Subject: [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-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>

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-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Acked-by: Konstantin Ananyev <konstantin.ananyev-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
---
 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:58 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-05 15:58 [PATCH 0/3] vhost example based on user space vhost library Huawei Xie
     [not found] ` <1407254286-23972-1-git-send-email-huawei.xie-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-08-05 15:58   ` [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   ` [PATCH 3/3] examples/vhost: add new " Huawei Xie
     [not found]     ` <1407254286-23972-4-git-send-email-huawei.xie-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-08-06  3:32       ` Stephen Hemminger
     [not found]         ` <20140805203254.2240a09c-a7a0dvSY7KrRI77zikRAJc56i+j3xesD0e7PPNI6Mm0@public.gmane.org>
2014-08-06  5:34           ` Xie, Huawei
2014-08-06  3:09   ` [PATCH 0/3] vhost example based on user space vhost library Fu, JingguoX
2014-08-07 14:29   ` Cao, Waterman
     [not found]     ` <AA3F441F262C58498CD6D0C1801DE7EB0AB0FB99-0J0gbvR4kTggGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-08-19  8:50       ` Tahhan, Maryam
     [not found]         ` <1A27633A6DA49C4A92FCD5D4312DBF53697B22BA-kPTMFJFq+rF9qrmMLTLiibfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-08-19  9:06           ` Xie, Huawei
     [not found]             ` <C37D651A908B024F974696C65296B57B0F2729A0-0J0gbvR4kThpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
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-ral2jqcrhueavxtiumwx3w@public.gmane.org \
    --cc=dev-VfR2kkLFssw@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.