From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by dpdk.org (Postfix) with ESMTP id F28271B168 for ; Wed, 3 Jan 2018 08:52:48 +0100 (CET) Received: by mail-wm0-f68.google.com with SMTP id r78so1098049wme.5 for ; Tue, 02 Jan 2018 23:52:48 -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:content-transfer-encoding:in-reply-to :user-agent; bh=9Iup5EIbxTHWyjZ0ApUiODnxyHssznbi/z3aN4ZNsq8=; b=VCsHuLr3vcdquZAmKO5YnbnjGBPg622P4aWyr9aGofCn4g2lRBQrPjB8JTV5I+KJV3 J+WLZ4RoJdEdcQMuzdwdI8bvEGFzpyAmH9iVBtvcjKILim9zkw2eFlc1vb3Hg+O/3fWV mgS1FF6PVdQ/6FvjeNpjWOMWrucQoeKi71T/XlWBEaFJ6jpo/+/WK+RStpe+2JHCn8Hn lEQbcgYiInNzQkvvLK4hzes7fcpmBVvj3It2tNU5sjAtmMwUoAdyhhj7hzXw0yYXS6Go vdvsdE0U92m0lkDJDpWpZyymEqbQeeuDDojCKAFDlbSjhEXRN0Rvr+KeBdSgF9x1Oyda FqKw== 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:content-transfer-encoding :in-reply-to:user-agent; bh=9Iup5EIbxTHWyjZ0ApUiODnxyHssznbi/z3aN4ZNsq8=; b=kpEisISkPtwb7FfNBREZ29F8n3hh2QDldnfKWSrVUN1H4NJuDZPPZf5YeQcl6LKEiS ivFIHnD5NpZASZChhMR+7EG1NFyVDDGXRlf/meOFoTt2Ou1Q6aF94j2IhN8O2NEB3+M9 Sv/1/Wmbf6ccLXP0CBy+94PVnuQuX/cU51XbWj2I6GDBdsI1s8TdlP/NYhBRf3XQS+j9 8Jc8VkhQjSDjDsDSkCzYRABHMbXHaV3p+AD9W7ny6lxrZU/4FHJUi5JhOBSob241K7JT VGUsZ1U/sjcXQ7xIsSZy5+wSjWcbFOtTtWGP0ZBIvWEdcfBn5KKUbdGtGo+CYOy/3/5D 6g8g== X-Gm-Message-State: AKGB3mI7oqk4rjnB6Nv3fZ/jn2/HCViwTl9hYM/MYXuIpntfYIi2VI/9 dzC1Ge0aGlfxB9qlY5leHdRrCR+Jig== X-Google-Smtp-Source: ACJfBotA9Fa0sBUtd2y8K9c77tLl5QQSuHPBqVANSReRE8ZuWf9DqDZaQTOdQYqUccAQyeMGW8APjQ== X-Received: by 10.80.195.204 with SMTP id i12mr1448995edf.272.1514965968603; Tue, 02 Jan 2018 23:52:48 -0800 (PST) Received: from laranjeiro-vm.dev.6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id w51sm372041edd.84.2018.01.02.23.52.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 02 Jan 2018 23:52:48 -0800 (PST) Date: Wed, 3 Jan 2018 08:52:01 +0100 From: Nelio Laranjeiro To: Stephen Hemminger Cc: dev@dpdk.org, Stephen Hemminger Message-ID: <20180103075201.kxlaxnngpx2ngaf4@laranjeiro-vm.dev.6wind.com> References: <20180102214421.22707-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180102214421.22707-1-stephen@networkplumber.org> User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [dpdk-dev] [RFC] mlx5: update NIC documentation on RDMA core version 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: Wed, 03 Jan 2018 07:52:49 -0000 Hi Stephen, Seems you missed an important point, MLNX_OFED is still supported with this driver allowing it to work on stable releases like strict debian 9 i.e. without updating the Linux kernel. On Tue, Jan 02, 2018 at 01:44:21PM -0800, Stephen Hemminger wrote: > The current driver requires v16. It will not work or build with > the older version (as in Debian stable). Note: libmlx5 is rolled > into rdma-core in current versions. > > Mlx4 probably requires similar documentation update. > > Signed-off-by: Stephen Hemminger > --- > doc/guides/nics/mlx5.rst | 18 +++++++++--------- > 1 file changed, 9 insertions(+), 9 deletions(-) > > diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst > index f9558da89b61..603dd4e9c1cd 100644 > --- a/doc/guides/nics/mlx5.rst > +++ b/doc/guides/nics/mlx5.rst > @@ -299,26 +299,26 @@ Prerequisites > ------------- > > This driver relies on external libraries and kernel drivers for resources > -allocations and initialization. The following dependencies are not part of > -DPDK and must be installed separately: > +allocations and initialization. The following packages come from the > +Linux RDMA core https://github.com/linux-rdma/rdma-core. The current > +version of this driver requires version version 16 or later. Not only, they are also present in MLNX_OFED >= 4.2 for regular distribution without updating the Linux Kernel. In such situation installing RDMA-Core is useless. > - **libibverbs** > > User space Verbs framework used by librte_pmd_mlx5. This library provides > - a generic interface between the kernel and low-level user space drivers > - such as libmlx5. > + a generic interface between the kernel and low-level user space drivers. > > It allows slow and privileged operations (context initialization, hardware > resources allocations) to be managed by the kernel and fast operations to > never leave user space. > > -- **libmlx5** > + The development package (libibverbs-dev or libibverbs-devel) are necessary > + for compilation. Not really MLNX_OFED >= 4.2 or libibverbs-dev or libibverbs-devel are necessary. People using MLNX_OFED must not install libibverbs-dev(el) packages. > - Low-level user space driver library for Mellanox ConnectX-4/ConnectX-5 > - devices, it is automatically loaded by libibverbs. > +- **rdma-core** > > - This library basically implements send/receive calls to the hardware > - queues. > + The basic userspace infrastructure for interaction with RDMA subsystem > + on Linux. > > - **Kernel modules** > > -- > 2.15.1 Keep both situation in the documentation for costumers who uses: - stable distribution in conjunction with MLNX_OFED - stable distribution with updated Linux kernel using RDMA-Core. Both are supported. Thanks, -- Nélio Laranjeiro 6WIND