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 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) To: dev@dpdk.org References: From: Eelco Chaudron Organization: Red Hat Message-ID: Date: Mon, 20 Nov 2017 11:27:09 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US 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.28]); Mon, 20 Nov 2017 10:27:11 +0000 (UTC) Subject: Re: [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 Reply-To: echaudro@redhat.com List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Nov 2017 10:27:12 -0000 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