From mboxrd@z Thu Jan 1 00:00:00 1970 From: Timothy Redaelli Subject: Re: [PATCH v2] net/mlx: fix rdma-core glue path with EAL plugins Date: Fri, 2 Mar 2018 17:07:42 +0100 Message-ID: <20180302170742.5552983b@redhat.com> References: <20180301124129.9606-1-adrien.mazarguil@6wind.com> <20180302141211.30818-1-adrien.mazarguil@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Shahaf Shuler , dev@dpdk.org, stable@dpdk.org To: Adrien Mazarguil Return-path: In-Reply-To: <20180302141211.30818-1-adrien.mazarguil@6wind.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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.