From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by dpdk.org (Postfix) with ESMTP id 3A95523B; Fri, 2 Mar 2018 17:07:45 +0100 (CET) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 46A994075168; Fri, 2 Mar 2018 16:07:44 +0000 (UTC) Received: from localhost (ovpn-204-183.brq.redhat.com [10.40.204.183]) by smtp.corp.redhat.com (Postfix) with ESMTP id 52CB910AF9C3; Fri, 2 Mar 2018 16:07:43 +0000 (UTC) Date: Fri, 2 Mar 2018 17:07:42 +0100 From: Timothy Redaelli To: Adrien Mazarguil Cc: Shahaf Shuler , dev@dpdk.org, stable@dpdk.org Message-ID: <20180302170742.5552983b@redhat.com> In-Reply-To: <20180302141211.30818-1-adrien.mazarguil@6wind.com> References: <20180301124129.9606-1-adrien.mazarguil@6wind.com> <20180302141211.30818-1-adrien.mazarguil@6wind.com> Organization: Red Hat MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.7]); Fri, 02 Mar 2018 16:07:44 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.7]); Fri, 02 Mar 2018 16:07:44 +0000 (UTC) for IP:'10.11.54.3' DOMAIN:'int-mx03.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'tredaelli@redhat.com' RCPT:'' Subject: Re: [dpdk-dev] [PATCH v2] net/mlx: fix rdma-core glue path with EAL plugins 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: Fri, 02 Mar 2018 16:07:45 -0000 On Fri, 2 Mar 2018 15:15:17 +0100 Adrien Mazarguil wrote: > Glue object files are looked up in RTE_EAL_PMD_PATH by default when > set and should be installed in this directory. > > During startup, EAL attempts to load them automatically like other > plug-ins found there. While normally harmless, dlopen() fails when > rdma-core is not installed, EAL interprets this as a fatal error and > terminates the application. > > This patch requests glue objects to be installed in a different > directory to prevent their automatic loading by EAL since they are > PMD helpers, not actual DPDK plug-ins. > > Fixes: f6242d0655cd ("net/mlx: make rdma-core glue path configurable") > Cc: stable@dpdk.org > > Reported-by: Timothy Redaelli > Signed-off-by: Adrien Mazarguil Tested-by: Timothy Redaelli Tested with and without libibverbs installed and with an old version of libibverbs installed and it works like it should.