From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adrien Mazarguil Subject: [PATCH v2 0/4] net/mlx: enhance rdma-core glue configuration Date: Fri, 2 Feb 2018 17:46:10 +0100 Message-ID: <20180202164050.13017-1-adrien.mazarguil@6wind.com> References: <20180202144736.8239-1-adrien.mazarguil@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Nelio Laranjeiro , dev@dpdk.org, Marcelo Ricardo Leitner To: Shahaf Shuler Return-path: Received: from mail-wr0-f196.google.com (mail-wr0-f196.google.com [209.85.128.196]) by dpdk.org (Postfix) with ESMTP id A5F1ADD2 for ; Fri, 2 Feb 2018 17:46:23 +0100 (CET) Received: by mail-wr0-f196.google.com with SMTP id v31so23131255wrc.11 for ; Fri, 02 Feb 2018 08:46:23 -0800 (PST) Content-Disposition: inline In-Reply-To: <20180202144736.8239-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" The decision to deliver mlx4/mlx5 rdma-core glue plug-ins separately instead of generating them at run time due to security concerns [1] led to a few issues: - They must be present on the file system before running DPDK. - Their location must be known to the dynamic linker. - Their names overlap and ABI compatibility is not guaranteed, which may lead to crashes. This series addresses the above by adding version information to plug-ins and taking CONFIG_RTE_EAL_PMD_PATH into account to locate them on the file system. [1] http://dpdk.org/ml/archives/dev/2018-January/089617.html v2 changes: - Fixed extra "\n" in glue file name generation (although it didn't break functionality). Adrien Mazarguil (4): net/mlx: add debug checks to glue structure net/mlx: fix missing includes for rdma-core glue net/mlx: version rdma-core glue libraries net/mlx: make rdma-core glue path configurable doc/guides/nics/mlx4.rst | 17 ++++++++++++ doc/guides/nics/mlx5.rst | 14 ++++++++++ drivers/net/mlx4/Makefile | 8 ++++-- drivers/net/mlx4/mlx4.c | 57 ++++++++++++++++++++++++++++++++++++++- drivers/net/mlx4/mlx4_glue.c | 4 +++ drivers/net/mlx4/mlx4_glue.h | 9 +++++++ drivers/net/mlx5/Makefile | 8 ++++-- drivers/net/mlx5/mlx5.c | 57 ++++++++++++++++++++++++++++++++++++++- drivers/net/mlx5/mlx5_glue.c | 1 + drivers/net/mlx5/mlx5_glue.h | 7 +++++ 10 files changed, 176 insertions(+), 6 deletions(-) -- 2.11.0