From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] eal: fix regression of plugins always requiring full path Date: Mon, 23 Nov 2015 16:29:31 +0100 Message-ID: <3762116.mHlrjq29sZ@xps13> References: <2ce33879359cd5d15dbb7fb10687d484dd187348.1448280355.git.pmatilai@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Panu Matilainen Return-path: Received: from mail-wm0-f53.google.com (mail-wm0-f53.google.com [74.125.82.53]) by dpdk.org (Postfix) with ESMTP id ED2998E90 for ; Mon, 23 Nov 2015 16:30:47 +0100 (CET) Received: by wmuu63 with SMTP id u63so59042101wmu.0 for ; Mon, 23 Nov 2015 07:30:47 -0800 (PST) In-Reply-To: <2ce33879359cd5d15dbb7fb10687d484dd187348.1448280355.git.pmatilai@redhat.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2015-11-23 14:05, Panu Matilainen: > The added error checking on plugin initialization in > commit 9f8eb1d9ca0f56d6292db5858c52e6873d0abe51 broke the ability of > loading plugins by their basename from default linker locations. > Only use stat() for directory discovery and leave error handling > to dlopen() to restore former behavior. > > Fixes: 9f8eb1d9ca0f ("eal: support driver loading from directory") > Signed-off-by: Panu Matilainen Applied, thanks