From mboxrd@z Thu Jan 1 00:00:00 1970 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) 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 :content-type; bh=e4LRhTlJIGtkPwGoyh0aB2YGceMLGm0HRMRSiH+53YE=; b=pCvlV4p06SfjKEribwAz2XgzaQ8j+4aALKZhHcbSDaS2X43NfHVAgs2f48ZB0uydRD 5nUS4ttgMcZjOVtWqLTYkPbB09AgAmmqgSjYnTdZd3dNXkqKIG6PI73OxaeDGFs6+YTE 09ywkMZhTvak6nNEIfdBAf1Ij7fGF54E+JW62t6d9IuyBsDQgrQtLI60btqv95qO1cCX aQ84Hx8ZYEoIVIk5efFpr53sHORAxPojgx4lXBqQBqfLaT2JJ/4vVclu6SV6zQxBrvzZ Q5n9CPcGR69lwymoN9PxsNLeH4Hl2Qs/K4IPzkbaIjvmZJ8kVrQ0W+5rYZYtYwgrBzq1 wlhQ== 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:content-type; bh=e4LRhTlJIGtkPwGoyh0aB2YGceMLGm0HRMRSiH+53YE=; b=NNVJoLxHz9mNX3hMLd9DlO7yWp9+uwb0arWS0f9MVxStwry83i3EnrHu8N0Wt2Gth4 AyXglI3x7IfFFS2gtAl2VdLrK+W9yk11fjI9FXOiSROaPkhyhagumZYM8PUvC9uwCAMQ q9AWQR7sajcMmRKpMXQ1n33XBENFcSC+THBxHj2IGH8kgkliWBi9gaCXAN87T1p+ICQ6 z6lr2NCHa/R0kMt3/D6F67J1gln+mumnlRvzyBhZIWB1qITtuM00nzyZoWzW6aQBzbOD Ky2WSNz8rrT3lIf2M5P3ogujH3TKrM+K1bzwI3jpbM49Nz+HCEXeOwRz5Bkkh9Llilu+ fbng== X-Gm-Message-State: ALoCoQnUHLYlNZvWh7DsNDl3kncVuuf+aEne9Zz7jQP4lH6GBZrAVC7IIIns+JzNpSchTir4Hw/A X-Received: by 10.28.184.13 with SMTP id i13mr15944874wmf.31.1448292647775; Mon, 23 Nov 2015 07:30:47 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id q9sm1010740wjo.9.2015.11.23.07.30.46 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 23 Nov 2015 07:30:47 -0800 (PST) From: Thomas Monjalon To: Panu Matilainen Date: Mon, 23 Nov 2015 16:29:31 +0100 Message-ID: <3762116.mHlrjq29sZ@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <2ce33879359cd5d15dbb7fb10687d484dd187348.1448280355.git.pmatilai@redhat.com> References: <2ce33879359cd5d15dbb7fb10687d484dd187348.1448280355.git.pmatilai@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] eal: fix regression of plugins always requiring full path 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: Mon, 23 Nov 2015 15:30:49 -0000 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