From: Timothy Redaelli <tredaelli@redhat.com>
To: dev@dpdk.org
Cc: Jingjing Wu <jingjing.wu@intel.com>
Subject: [dpdk-dev] [PATCH] app/testpmd: link with virtio PMD when using shared libraries
Date: Fri, 17 Nov 2017 17:19:09 +0100 [thread overview]
Message-ID: <e6a0258739baaf4058a367f065b77f03f594ad42.1510935549.git.tredaelli@redhat.com> (raw)
testpmd is often used inside a VM to test the OVS PVP scenario.
This commit makes testpmd to link to virtio PMD when DPDK is built as
shared libraries too.
Signed-off-by: Timothy Redaelli <tredaelli@redhat.com>
---
app/test-pmd/Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/app/test-pmd/Makefile b/app/test-pmd/Makefile
index 4993c9184..ffc370f0e 100644
--- a/app/test-pmd/Makefile
+++ b/app/test-pmd/Makefile
@@ -87,6 +87,10 @@ ifeq ($(CONFIG_RTE_LIBRTE_PMD_SOFTNIC),y)
LDLIBS += -lrte_pmd_softnic
endif
+ifeq ($(CONFIG_RTE_LIBRTE_VIRTIO_PMD),y)
+LDLIBS += -lrte_pmd_virtio
+endif
+
endif
CFLAGS_cmdline.o := -D_GNU_SOURCE
--
2.14.3
next reply other threads:[~2017-11-17 16:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-17 16:19 Timothy Redaelli [this message]
2017-11-17 16:43 ` Luca Boccassi
2017-11-20 10:27 ` Eelco Chaudron
2017-11-29 22:23 ` Thomas Monjalon
2017-11-30 11:21 ` Timothy Redaelli
2017-11-30 13:16 ` Thomas Monjalon
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=e6a0258739baaf4058a367f065b77f03f594ad42.1510935549.git.tredaelli@redhat.com \
--to=tredaelli@redhat.com \
--cc=dev@dpdk.org \
--cc=jingjing.wu@intel.com \
/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).