mlx5: update NIC documentation on RDMA core version
RFC 1/1 mlx5: update NIC documentation on RDMA core version
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.
--- doc/guides/nics/mlx5.rst | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-)
doc/guides/nics/mlx5.rst +9 -9
@@ -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. - **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. - 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**
Signature · 1 line
2.15.1
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.
Quoted 16 lines · Stephen Hemminger
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 <[email protected]>--- doc/guides/nics/mlx5.rst | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-)doc/guides/nics/mlx5.rst +0
-0
doc/guides/nics/mlx5.rst Prerequisites · line 304
Quoted 8 lines
doc/guides/nics/mlx5.rst +3
-2@@ -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.
Quoted 4 lines
doc/guides/nics/mlx5.rst +0
-1- **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
doc/guides/nics/mlx5.rst Prerequisites · line 316
Quoted 10 lines
doc/guides/nics/mlx5.rst +3
-2- 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.
Quoted 13 lines
doc/guides/nics/mlx5.rst +3
-4- 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**Signature · 1 line
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,
Signature · 2 lines
Nélio Laranjeiro 6WIND
Quoted 5 lines · On Wed, 3 Jan 2018 08:52:01 +0100 Nelio Laranjeiro…
Hi Stephen,
Seems you missed an important point,
MLNX_OFEDis still supported with this driver allowing it to work on stable releases like strict debian 9 i.e. without updating the Linux kernel.
So the documentation should reflect the two possibilities more clearly.
OFED version > ??
or RDMA core version >= 16
The current documentation is unclear and doesn't help the users.
Quoted 9 lines · Stephen Hemminger
Quoted 5 lines · On Wed, 3 Jan 2018 08:52:01 +0100 Nelio Laranjeiro…
Hi Stephen,
Seems you missed an important point,
MLNX_OFEDis still supported with this driver allowing it to work on stable releases like strict debian 9 i.e. without updating the Linux kernel.
Quoted 6 lines
So the documentation should reflect the two possibilities more clearly.
OFED version > ??
or RDMA core version >= 16The current documentation is unclear and doesn't help the users.
It is explained in the section "21.5.1. Installation" [1] of the mlx5 documentation.
I am not against modifying the documentation to make it more clearer, but we need to keep both information MLNX_OFED with un-modified distributions or Linux Kernel upstream with RDMA-Core for those who have modified their Linux Kernel.
Thanks,
[1] http://dpdk.org/doc/guides/nics/mlx5.html#installation
Signature · 2 lines
Nélio Laranjeiro 6WIND