From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] app/testpmd: link with virtio PMD when using shared libraries Date: Wed, 29 Nov 2017 23:23:40 +0100 Message-ID: <3208097.sCyqhKb3JL@xps> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, echaudro@redhat.com, Jingjing Wu To: Timothy Redaelli Return-path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 4F0832C3F for ; Wed, 29 Nov 2017 23:23:42 +0100 (CET) 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" 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 > > Acked-by: Eelco Chaudron 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.