DPDK patches and discussions
 help / color / mirror / Atom feed
From: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
To: Stephen Hemminger <stephen@networkplumber.org>
Cc: dev@dpdk.org, Stephen Hemminger <sthemmin@microsoft.com>
Subject: Re: [dpdk-dev] [RFC] mlx5: update NIC documentation on RDMA core version
Date: Wed, 3 Jan 2018 08:52:01 +0100	[thread overview]
Message-ID: <20180103075201.kxlaxnngpx2ngaf4@laranjeiro-vm.dev.6wind.com> (raw)
In-Reply-To: <20180102214421.22707-1-stephen@networkplumber.org>

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 <sthemmin@microsoft.com>
> ---
>  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

  reply	other threads:[~2018-01-03  7:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-02 21:44 Stephen Hemminger
2018-01-03  7:52 ` Nelio Laranjeiro [this message]
2018-01-03 15:23   ` Stephen Hemminger
2018-01-04  7:54     ` Nélio Laranjeiro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180103075201.kxlaxnngpx2ngaf4@laranjeiro-vm.dev.6wind.com \
    --to=nelio.laranjeiro@6wind.com \
    --cc=dev@dpdk.org \
    --cc=stephen@networkplumber.org \
    --cc=sthemmin@microsoft.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).