From: Luca Boccassi Date: Fri, 17 Nov 2017 16:53:24 +0000 (+0000) Subject: Backport patch to link testpmd with virtio pmd X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;ds=sidebyside;h=948da14fff4a29a046614871b74207a198ecdb4c;p=deb_dpdk.git Backport patch to link testpmd with virtio pmd Change-Id: I06b7d54ca198ba82a326691391491542ae2eb3af Signed-off-by: Luca Boccassi --- diff --git a/debian/patches/series b/debian/patches/series index 5722b395..5034d58c 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ fix-vhost-user-socket-permission.patch +testpmd-link-virtio.patch diff --git a/debian/patches/testpmd-link-virtio.patch b/debian/patches/testpmd-link-virtio.patch new file mode 100644 index 00000000..8386f750 --- /dev/null +++ b/debian/patches/testpmd-link-virtio.patch @@ -0,0 +1,21 @@ +Description: app/testpmd: link with virtio PMD when using shared libraries + 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. +Origin: http://dpdk.org/dev/patchwork/patch/31459/ +Forwarded: yes +Author: Timothy Redaelli +Last-Update: 2017-11-17 +--- a/app/test-pmd/Makefile ++++ b/app/test-pmd/Makefile +@@ -91,6 +91,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