From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <thomas@monjalon.net>
Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com
 [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 4F0832C3F
 for <dev@dpdk.org>; Wed, 29 Nov 2017 23:23:42 +0100 (CET)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41])
 by mailout.nyi.internal (Postfix) with ESMTP id C3B2620CE1;
 Wed, 29 Nov 2017 17:23:41 -0500 (EST)
Received: from frontend1 ([10.202.2.160])
 by compute1.internal (MEProxy); Wed, 29 Nov 2017 17:23:41 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=
 cc:content-transfer-encoding:content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to:x-me-sender
 :x-me-sender:x-sasl-enc; s=mesmtp; bh=LN0QVzKmmojKVcU5RINU3a1cFD
 UeJE5QcrFLv6vW6IM=; b=DKGn0lNDYlhXmXXnwb22JFO0IVCVgYHuXdmdNCQqIQ
 XWFq3k/PMh+b0h4hb1EvOWSKB8jn+fGvqPH5bN/4BSQ8iHTlu68r7iYtrzDGUEmw
 7WU4FdaycN/1hq9n6c+AUllJxxto4Z6J1MKHEn+NXx8M4R3l5IEVrJ3eaSrrrggE
 o=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-transfer-encoding:content-type
 :date:from:in-reply-to:message-id:mime-version:references
 :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=LN0QVz
 KmmojKVcU5RINU3a1cFDUeJE5QcrFLv6vW6IM=; b=MsQE8a+S9cB8VATYwkaKxF
 CKYFQW/Cjnsh6P5brSaYLCbpLRgXA/mzxKKkZc3iZcQGmybvfWyNFZ07b9oFizLZ
 MYmkKQRTUQrcxU/dqFUgIrM9H796CWkDU2uV3kYMHlD7V+BDiAzRMBLk0FGxHrsz
 fhV2nWupezZjJTvQ9flwz3IGdEbblrLdS5i26hpTb2+th4Jo/q6MreQ858h1KyMB
 gkM635HmxL570iL7P6CLiA32GFg+MJEMkkhh6/imUUIezVwlcHFFfHx01Zl+nCB0
 WVxyc2Or1ZMftFRMXLLZ8XlNWIwjLxNEEdx+dyLApVlc6cgxRl2kdFqC+ZuaWJQA
 ==
X-ME-Sender: <xms:bTMfWk9WPRhq-CjBbXIspcpNlrocQIrpg0rh7lmGgQz8OBhaYx7C_A>
Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184])
 by mail.messagingengine.com (Postfix) with ESMTPA id 6CFEE7E1D9;
 Wed, 29 Nov 2017 17:23:41 -0500 (EST)
From: Thomas Monjalon <thomas@monjalon.net>
To: Timothy Redaelli <tredaelli@redhat.com>
Cc: dev@dpdk.org, echaudro@redhat.com, Jingjing Wu <jingjing.wu@intel.com>
Date: Wed, 29 Nov 2017 23:23:40 +0100
Message-ID: <3208097.sCyqhKb3JL@xps>
In-Reply-To: <f76597fd-8ded-5b61-eb47-ba95f4215059@redhat.com>
References: <e6a0258739baaf4058a367f065b77f03f594ad42.1510935549.git.tredaelli@redhat.com>
 <f76597fd-8ded-5b61-eb47-ba95f4215059@redhat.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
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 <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Wed, 29 Nov 2017 22:23:42 -0000

20/11/2017 11:27, Eelco Chaudron:
> 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 <tredaelli@redhat.com>
> 
> Acked-by: Eelco Chaudron <echaudro@redhat.com>

I really doubt it is the right fix.
This PMD should be dynamically linked with dlopen as a plugin.
It can be done with -d option or by specifying the plugin directory
at compilation time in CONFIG_RTE_EAL_PMD_PATH.