Skip to contentSkip to conversation

net/mana: add version information for dependencies

PATCH In review [email protected] 4 participants 6 messages Jan 20, 2023 – Mar 8, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 net/mana: add version information for dependencies

From: Long Li <[email protected]>

The required dependencies for mana from rdma-core and Linux kernel have been released. Add those information to the doc.

Fixes 517ed6e2d590 ("net/mana: add basic driver with build environment")
---
 doc/guides/nics/mana.rst | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
doc/guides/nics/mana.rst +3 -5
index 005c0b2ca7..341146c4e7 100644
@@ -29,6 +29,7 @@ and must be installed separately:
   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.
+  The minimum required rdma-core version is v44.
 
   In most cases, rdma-core is shipped as a package with an OS distribution.
   User can also install the upstream version of the rdma-core from
@@ -39,15 +40,14 @@ and must be installed separately:
   Low-level user space driver library
   for Microsoft Azure Network Adapter devices,
   it is automatically loaded by libibverbs.
-
-  The support of MANA is not merged in rdma-core 42.
+  The minimum required version of rdma-core with libmana is v44.
 
 - **Kernel modules**
 
   They provide the kernel-side verbs API and low level device drivers
   that manage actual hardware initialization
   and resources sharing with user space processes.
-  The minimum required Linux kernel version is 6.1.
+  The minimum required Linux kernel version is 6.2.
 
   Unlike most other PMDs, these modules must remain loaded
   and bound to their devices:
@@ -56,8 +56,6 @@ and must be installed separately:
   - mana_ib: InifiniBand device driver.
   - ib_uverbs: user space driver for verbs (entry point for libibverbs).
 
-  The support of MANA is planned in Linux 6.2.
-
 Driver compilation and testing
 ------------------------------
 
Signature · 1 line
2.17.1
#1 lore raw

PATCH 2/2 net/mana: enable driver by default

From: Long Li <[email protected]>

The dependencies of mana have been released in rdma-core v44 and Linux kernel 6.2.

---
 MAINTAINERS             | 2 +-
 drivers/net/meson.build | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
MAINTAINERS +1 -1
index 9a0f416d2e..702fc3c60b 100644
@@ -853,7 +853,7 @@ F: buildtools/options-ibverbs-static.sh
 F: doc/guides/nics/mlx5.rst
 F: doc/guides/nics/features/mlx5.ini
 
-Microsoft mana - EXPERIMENTAL
+Microsoft mana
 M: Long Li <[email protected]>
 F: drivers/net/mana/
 F: doc/guides/nics/mana.rst
drivers/net/meson.build +1 -0
index 6470bf3636..f83a6de117 100644
@@ -36,6 +36,7 @@ drivers = [
         'ixgbe',
         'kni',
         'liquidio',
+        'mana',
         'memif',
         'mlx4',
         'mlx5',
Signature · 1 line
2.17.1
#2 lore raw

Re: [PATCH 2/2] net/mana: enable driver by default

20/01/2023 03:19, [email protected]:

Quoted 6 lines

From: Long Li <[email protected]>

The dependencies of mana have been released in rdma-core v44 and Linux kernel 6.2.

I'm squashing this patch with the previous one, including the backport request.
I consider it is allowed to enable a driver in backports. Stable maintainers will decide.

#3 lore raw
In reply to [email protected]
Quoted 29 lines · On 1/20/2023 2:19 AM, [email protected] wrote:

From: Long Li <[email protected]>

The required dependencies for mana from rdma-core and Linux kernel have been released. Add those information to the doc.

Fixes 517ed6e2d590 ("net/mana: add basic driver with build environment")
---
 doc/guides/nics/mana.rst | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
doc/guides/nics/mana.rst +1 -2
index 005c0b2ca7..341146c4e7 100644
@@ -29,6 +29,7 @@ and must be installed separately:
   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.
+  The minimum required rdma-core version is v44.
 
   In most cases, rdma-core is shipped as a package with an OS distribution.
   User can also install the upstream version of the rdma-core from
@@ -39,15 +40,14 @@ and must be installed separately:
   Low-level user space driver library
   for Microsoft Azure Network Adapter devices,
   it is automatically loaded by libibverbs.
-
-  The support of MANA is not merged in rdma-core 42.

doc/guides/nics/mana.rst and must be installed separately: · line 51

Quoted 10 lines
doc/guides/nics/mana.rst +2 -1
+  The minimum required version of rdma-core with libmana is v44.
 
 - **Kernel modules**
 
   They provide the kernel-side verbs API and low level device drivers
   that manage actual hardware initialization
   and resources sharing with user space processes.
-  The minimum required Linux kernel version is 6.1.
+  The minimum required Linux kernel version is 6.2.
 

Hi Long,

Linux 6.2 seems release, can you please confirm required dependency is part of 6.2 release.

Quoted 14 lines
doc/guides/nics/mana.rst +0 -3
   Unlike most other PMDs, these modules must remain loaded
   and bound to their devices:
@@ -56,8 +56,6 @@ and must be installed separately:
   - mana_ib: InifiniBand device driver.
   - ib_uverbs: user space driver for verbs (entry point for libibverbs).
 
-  The support of MANA is planned in Linux 6.2.
-
 Driver compilation and testing
 ------------------------------
 
--

2.17.1

#4 lore raw
Quoted 47 lines

Subject: Re: [PATCH 1/2] net/mana: add version information for dependencies

Quoted 30 lines · On 1/20/2023 2:19 AM, [email protected] wrote:

From: Long Li <[email protected]>

The required dependencies for mana from rdma-core and Linux kernel have been released. Add those information to the doc.

Fixes 517ed6e2d590 ("net/mana: add basic driver with build

environment")

---
 doc/guides/nics/mana.rst | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
doc/guides/nics/mana.rst index renamed from doc/guides/nics/mana.rst +0 -0

005c0b2ca7..341146c4e7 100644

doc/guides/nics/mana.rst +1 -2
@@ -29,6 +29,7 @@ and must be installed separately:
   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.
+  The minimum required rdma-core version is v44.
 
   In most cases, rdma-core is shipped as a package with an OS distribution.
   User can also install the upstream version of the rdma-core from @@
-39,15 +40,14 @@ and must be installed separately:
   Low-level user space driver library
   for Microsoft Azure Network Adapter devices,
   it is automatically loaded by libibverbs.
-

doc/guides/nics/mana.rst and must be installed separately:

Quoted 10 lines
doc/guides/nics/mana.rst +2 -2
-  The support of MANA is not merged in rdma-core 42.
+  The minimum required version of rdma-core with libmana is v44.
 
 - **Kernel modules**
 
   They provide the kernel-side verbs API and low level device drivers
   that manage actual hardware initialization
   and resources sharing with user space processes.
-  The minimum required Linux kernel version is 6.1.
+  The minimum required Linux kernel version is 6.2.

Hi Long,

Quoted 2 lines

Linux 6.2 seems release, can you please confirm required dependency is part of 6.2 release.

Hi Ferruh,

I can confirm the required dependency is in Linux 6.2.

Thanks,
Long

Quoted 15 lines
Quoted 15 lines

Unlike most other PMDs, these modules must remain loaded and bound to their devices:

doc/guides/nics/mana.rst +0 -3
@@ -56,8 +56,6 @@ and must be installed separately:
   - mana_ib: InifiniBand device driver.
   - ib_uverbs: user space driver for verbs (entry point for libibverbs).
 
-  The support of MANA is planned in Linux 6.2.
-
 Driver compilation and testing
 ------------------------------
 
--

2.17.1

Acked-by on v1 1/2
#5 lore raw
In reply to [email protected]
Quoted 7 lines · On 1/20/2023 2:19 AM, [email protected] wrote:

From: Long Li <[email protected]>

The required dependencies for mana from rdma-core and Linux kernel have been released. Add those information to the doc.

Fixes 517ed6e2d590 ("net/mana: add basic driver with build environment")

For series,

Series applied to dpdk-next-net/main, thanks.