1 Description: app/testpmd: link with virtio PMD when using shared libraries
2 testpmd is often used inside a VM to test the OVS PVP scenario.
3 This commit makes testpmd to link to virtio PMD when DPDK is built as
5 Origin: http://dpdk.org/dev/patchwork/patch/31459/
7 Author: Timothy Redaelli <tredaelli@redhat.com>
8 Last-Update: 2017-11-17
9 --- a/app/test-pmd/Makefile
10 +++ b/app/test-pmd/Makefile
11 @@ -91,6 +91,10 @@ ifeq ($(CONFIG_RTE_LIBRTE_PMD_SOFTNIC),y)
12 LDLIBS += -lrte_pmd_softnic
15 +ifeq ($(CONFIG_RTE_LIBRTE_VIRTIO_PMD),y)
16 +LDLIBS += -lrte_pmd_virtio
21 CFLAGS_cmdline.o := -D_GNU_SOURCE