From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 6300D1B027 for ; Fri, 17 Nov 2017 17:19:14 +0100 (CET) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 86DA16868F; Fri, 17 Nov 2017 16:19:13 +0000 (UTC) Received: from graphite.redhat.com (ovpn-117-206.ams2.redhat.com [10.36.117.206]) by smtp.corp.redhat.com (Postfix) with ESMTP id D0CFE620A8; Fri, 17 Nov 2017 16:19:12 +0000 (UTC) From: Timothy Redaelli To: dev@dpdk.org Cc: Jingjing Wu Date: Fri, 17 Nov 2017 17:19:09 +0100 Message-Id: X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Fri, 17 Nov 2017 16:19:13 +0000 (UTC) Subject: [dpdk-dev] [PATCH] app/testpmd: link with virtio PMD when using shared libraries X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Nov 2017 16:19:14 -0000 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 --- 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