From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eelco Chaudron Subject: Re: [PATCH] app/testpmd: link with virtio PMD when using shared libraries Date: Mon, 20 Nov 2017 11:27:09 +0100 Message-ID: References: Reply-To: echaudro@redhat.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit To: dev@dpdk.org Return-path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id E7613532E for ; Mon, 20 Nov 2017 11:27:11 +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 36AE98046A for ; Mon, 20 Nov 2017 10:27:11 +0000 (UTC) Received: from rhvm.imac (ovpn-116-216.ams2.redhat.com [10.36.116.216]) by smtp.corp.redhat.com (Postfix) with ESMTP id D90B0620A8 for ; Mon, 20 Nov 2017 10:27:10 +0000 (UTC) In-Reply-To: Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 17/11/17 17:19, Timothy Redaelli wrote: > 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 Acked-by: Eelco Chaudron