From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) by dpdk.org (Postfix) with ESMTP id 93B612C18 for ; Thu, 21 Apr 2016 17:18:38 +0200 (CEST) Received: by mail-wm0-f51.google.com with SMTP id v188so249219380wme.1 for ; Thu, 21 Apr 2016 08:18:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=JymjxX64tHYQ9LCv6dlINGvIhsHjgdTkhp1WeKtEQ1Q=; b=gCNEkuyhHEqiZTC1j0TyfYNklIi2r1ejUxkcYP2mb+aOzk14iTKku452ePbzDrS4Mg X7ED+b4VrxCvn9s/cAFcioNRrA5G1CezrmkpdjwX4uaS3GrTtuD0WLluLgrn5RTHIXY0 8H7Rse/KyjJoB++p1EXZkqrQ4Masj7rRKdlPZwLrvvCdYaUpyfTuQegGC73NugcUq75L D8+a11kxgClMQXBleOvw92a7M8nUdmSDYPFS0u5g2acDRHSS8IwxAKD1ABrYtVh+1QjD EV9KLO+IIZlvIW+uNxCYwkkgyg1BnDG5e2mRAp7T6MwZnA5TX2L7GVj85YZvlONC7DEo xHcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding; bh=JymjxX64tHYQ9LCv6dlINGvIhsHjgdTkhp1WeKtEQ1Q=; b=mAZHixRa1vE6nWr4yqG17/iQiSsHwljiwTa39E0unhVSl40PzkrQ5aZnxHzyzY8xHV 6qaBJpPWjbWlQnwC9tUY4cXF/ZxciLxW82jM8WiBpi0j0himnEZrrWO0WK4kavSxFNvg HDMmsexkjuC2KNynlAtOO+fLGsGApZjpvIavrXYSIwMnoC7PS+IrfEVwO6uDkkto0+Ys DZwhf8wW5S0SHi3noFOdCysX0EaYIauprvo1UgB7zJZJVtMD11xhDYSTcU5GLx8lNZ6B lvd0IWGpn3KXklFNEiypnEPRGLbHlsYZ1+fVYnHLQjLFEDgiHCv/rdWREoW4AyjJRR5S 2YYA== X-Gm-Message-State: AOPr4FWTWv1cZBNuVDKgGkvsSZIZIfsldneVW1x9TZUTaQ5Tl71Plv1hbZo4p4Sa/Jh1qx+5 X-Received: by 10.28.148.19 with SMTP id w19mr15845740wmd.10.1461251918334; Thu, 21 Apr 2016 08:18:38 -0700 (PDT) Received: from xps13.localnet (APoitiers-658-1-53-118.w86-217.abo.wanadoo.fr. [86.217.192.118]) by smtp.gmail.com with ESMTPSA id b15sm13872345wmd.1.2016.04.21.08.18.37 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 21 Apr 2016 08:18:37 -0700 (PDT) From: Thomas Monjalon To: apanda@cs.berkeley.edu Cc: dev@dpdk.org, Panu Matilainen Date: Thu, 21 Apr 2016 17:18:16 +0200 Message-ID: <2358356.HZLcvC2y3R@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <5718EB59.5010808@cs.berkeley.edu> References: <57158D01.5020407@cs.berkeley.edu> <571895D9.3090700@redhat.com> <5718EB59.5010808@cs.berkeley.edu> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [dpdk-users] DPDK 16.04 link changes cause PMD drivers to not be loaded X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Apr 2016 15:18:38 -0000 2016-04-21 08:01, Aurojit Panda: > Panu Matilainen wrote: [...] > > Again, PMDs are *plugins* that are *meant* to be loaded at runtime. > > That allows for all sorts of flexibility especially > > for packaging and shipping, at some extra cost in setup complexity. > > I am all for a plugin architecture, I was merely suggesting that you > embed some path infromation at the beginning. Also please note: > (a) This behavior changed recently. What changed recently? > (b) This change is entirely undocumented, which is why I was reporting > it in the first place. > (c) It is actually quite unintutive, because previously ensuring > LD_LIBRARY_PATH was correct was all that was required > to get any DPDK application to interact with ports. ? Are you talking about combined library? > > For your own purposes, you can of course tweak the linking settings > > as much as you like. Look for "plugins" in mk/rte.app.mk and change > > the shared lib condition on the line above to "y" and there you have it. > > But that's not the way plugins are meant to be used. > > That is not a reasonable solution given that it makes it very hard to > track future changes to DPDK without merges. > My alternatives neither break people's abilities to use plugins, > nor do they impact behavior. Please do not hesitate to send some patch to show your solution. Thanks