From mboxrd@z Thu Jan 1 00:00:00 1970 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) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:content-transfer-encoding:mime-version; bh=rukMjaci0pLSywTXZ1Llj6aiC8LnCKUfUzKdFcLfrIY=; b=iHZnvEb4aX+zca/yjh3lGaUNf5zVhMfrzghOx2nRrN6oOLamrt7IO6UYXY4U0yRRu1 U9UVNHFfUpEOZHsruEiae/teZzUWtSeJw0wupWfJIkgHKy04inLGFql4IhOqz2HRS5qa r4n2iNMMwZP+CzZhz/6kM/BgSVD4kI/kdVAfM2fLe3dmcvnRODcwFjUBIFppvbgyI6Pk c9s65SdXnPINpFITPGGi7Qyl4Z2M907FYWFNCkPNE3gaIvMKeaBpc7uw7L+Xj/SFYiLx hauDXeeyTFNjTfw6lhtURqW9tzAbkmLG+BGUkkbVTUQCKdTsGhFzEaAfZguVXYsjx9jx ri4g== X-Gm-Message-State: AJaThX5VqnGGRn6IZP7th7lp0zquhcScsW8SF9TRAvv5gqNU67hQwV68 7Z2y+y2Ds+1NqrRCtmtsbKM= X-Google-Smtp-Source: AGs4zMbvcEJjl97r06Mnc8ljmRAu54XirddN8kTSvrENEzG0jIr8aunYy+4mA/Kn1rC3VgRvYL2MPg== X-Received: by 10.28.127.197 with SMTP id a188mr4696094wmd.138.1510937023425; Fri, 17 Nov 2017 08:43:43 -0800 (PST) Received: from localhost ([2a00:23c5:bef3:400:4a51:b7ff:fe0b:4749]) by smtp.gmail.com with ESMTPSA id k14sm3855374wrc.90.2017.11.17.08.43.42 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 17 Nov 2017 08:43:42 -0800 (PST) Message-ID: <1510937021.11864.13.camel@debian.org> From: Luca Boccassi To: Timothy Redaelli , dev@dpdk.org Cc: Jingjing Wu Date: Fri, 17 Nov 2017 16:43:41 +0000 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Evolution 3.22.6-1+deb9u1 Mime-Version: 1.0 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 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:43:43 -0000 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