DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] app/testpmd: link with virtio PMD when using shared libraries
@ 2017-11-17 16:19 Timothy Redaelli
  2017-11-17 16:43 ` Luca Boccassi
  2017-11-20 10:27 ` Eelco Chaudron
  0 siblings, 2 replies; 6+ messages in thread
From: Timothy Redaelli @ 2017-11-17 16:19 UTC (permalink / raw)
  To: dev; +Cc: Jingjing Wu

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-11-30 13:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-17 16:19 [dpdk-dev] [PATCH] app/testpmd: link with virtio PMD when using shared libraries Timothy Redaelli
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

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).