From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=P7aDlEGZ7eYDkF89WZ0uj7NfWk2+07mnoSHSGDFgPns=; b=g/R7lEOk5VLVjPbFGrLCI/OjpoqD/ob2d37kC9wI+HXs9UHdCm8Cgsg+s0xRW3UlC7 e+i8+ktRP8sb7SafrREFBl6p8FECGuccAGIz0zd2hRi9G2Hg23FlNUN9FVOhdGI4vW5m tJsldwFJzIErSuR9eFKN6kWEub6QPmfURU1Cph0/c2XNQsBAGF3hC07Y424hdej0tCOf gC2rhEKV/+pUb4ySEVSIhHEWTaLOGL3/Ao6oF0tKhMmJdX7Yb5aEZDpCpWWbyg4orHPd Kjziato+RDk1U8FRiL56zS82K1aOyeMDtdZDJsAIcst2nl9YWRzsbYu513v69wWEahDb Irvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=P7aDlEGZ7eYDkF89WZ0uj7NfWk2+07mnoSHSGDFgPns=; b=ZTD7dmZJdTMIlQBTzXrftsWiQuLxceYtqAHOyBLTjeK9iVVD3gKJCc0JEyalZq32Ho nEt4tP+W9BSCrBBDcbOLy5ghjngYbMJ4y4yCdof1APFuZaNQxGbDIt7VGha7o0ZaUURh pgw2CScU4yMoz6YRfGMcAPkxa1tT3Bp08i1yU6eW729hdVeHelrh27HQMp8uN3OgPUhV CS2HgoGiJjNg8PhCLCfGchC2vFW1pDfIoeqWJoayz5Kqw9b17vTyqjtC5qgGayaCg/Me uqpcIWZ0dbXY1VMA8nItN8ZM2nc6y3oIz0QxRLg9C1Uk7hUvyxtGvlsdtQg5Fq//k0Yo vq/A== X-Gm-Message-State: AKwxytd8w3ZFVmFtCGf5Ner7W5ytwIYAAiPHT73Gt6A1/+pDGCwkH7Hg GPaXq940fppq3Un/MNjuY+/EVg== X-Google-Smtp-Source: AH8x227lKzPzWbi4A2Kc7Wx6RHSzqNeJ+q4HkxPfWECxB1tZqT8OYfhHRF/IJHQmiqrrYBnohnl/XA== X-Received: by 10.223.153.120 with SMTP id x111mr29661970wrb.249.1517589983453; Fri, 02 Feb 2018 08:46:23 -0800 (PST) Received: from 6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id 5sm1332568wre.35.2018.02.02.08.46.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 02 Feb 2018 08:46:22 -0800 (PST) Date: Fri, 2 Feb 2018 17:46:10 +0100 From: Adrien Mazarguil To: Shahaf Shuler Cc: Nelio Laranjeiro , dev@dpdk.org, Marcelo Ricardo Leitner 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 Content-Disposition: inline In-Reply-To: <20180202144736.8239-1-adrien.mazarguil@6wind.com> X-Mailer: git-send-email 2.11.0 Subject: [dpdk-dev] [PATCH v2 0/4] net/mlx: enhance rdma-core glue configuration 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 Feb 2018 16:46:23 -0000 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