From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luca Boccassi Subject: Re: [PATCH] app/testpmd: link with virtio PMD when using shared libraries Date: Fri, 17 Nov 2017 16:43:41 +0000 Message-ID: <1510937021.11864.13.camel@debian.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Cc: Jingjing Wu To: Timothy Redaelli , dev@dpdk.org Return-path: Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by dpdk.org (Postfix) with ESMTP id B6EBE1B2CC for ; Fri, 17 Nov 2017 17:43:43 +0100 (CET) Received: by mail-wm0-f66.google.com with SMTP id l8so7580598wmg.4 for ; Fri, 17 Nov 2017 08:43:43 -0800 (PST) In-Reply-To: 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 Fri, 2017-11-17 at 17:19 +0100, 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. >=20 > Signed-off-by: Timothy Redaelli > --- > =C2=A0app/test-pmd/Makefile | 4 ++++ > =C2=A01 file changed, 4 insertions(+) >=20 > 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) > =C2=A0LDLIBS +=3D -lrte_pmd_softnic > =C2=A0endif > =C2=A0 > +ifeq ($(CONFIG_RTE_LIBRTE_VIRTIO_PMD),y) > +LDLIBS +=3D -lrte_pmd_virtio > +endif > + > =C2=A0endif > =C2=A0 > =C2=A0CFLAGS_cmdline.o :=3D -D_GNU_SOURCE Acked-by: --=20 Kind regards, Luca Boccassi