From mboxrd@z Thu Jan 1 00:00:00 1970 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) 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: 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 To: Timothy Redaelli Cc: dev@dpdk.org, echaudro@redhat.com, Jingjing Wu Date: Wed, 29 Nov 2017 23:23:40 +0100 Message-ID: <3208097.sCyqhKb3JL@xps> In-Reply-To: References: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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 > > 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.