Skip to contentSkip to conversation

net/mana: disable driver by default

PATCH In review Ferruh Yigit 3 participants 10 messages Oct 13, 2022 – Jan 19, 2023

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

PATCH 1/1 net/mana: disable driver by default

Driver is disabled by default because its dependencies are not upstreamed yet, code is available for development and investigation.

When all dependencies are upstreamed, driver can be enabled back.

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

---
Cc: Long Li <[email protected]>
Cc: Stephen Hemminger <[email protected]>

---
 MAINTAINERS                            | 2 +-
 doc/guides/nics/index.rst              | 1 -
 doc/guides/rel_notes/release_22_11.rst | 2 ++
 drivers/net/meson.build                | 1 -
 4 files changed, 3 insertions(+), 3 deletions(-)
MAINTAINERS +1 -1
index 2bd4a55f1b0a..fe6c0a60b628 100644
@@ -828,7 +828,7 @@ F: buildtools/options-ibverbs-static.sh
 F: doc/guides/nics/mlx5.rst
 F: doc/guides/nics/features/mlx5.ini
 
-Microsoft mana
+Microsoft mana - EXPERIMENTAL
 M: Long Li <[email protected]>
 F: drivers/net/mana/
 F: doc/guides/nics/mana.rst
doc/guides/nics/index.rst +0 -1
index 32c754496827..f80906a97d1b 100644
@@ -41,7 +41,6 @@ Network Interface Controller Drivers
     intel_vf
     kni
     liquidio
-    mana
     memif
     mlx4
     mlx5
doc/guides/rel_notes/release_22_11.rst +2 -0
index 2da8bc9661af..79bc36815659 100644
@@ -142,6 +142,8 @@ New Features
 
 * **Added Microsoft mana driver.**
 
+  Disabled by default because of missing dependency.
+
 * **Updated Netronome nfp driver.**
 
   Added the needed data structures and logics to support flow API offload:
drivers/net/meson.build +0 -1
index 35bfa78dee66..37919eaf8b02 100644
@@ -34,7 +34,6 @@ drivers = [
         'ixgbe',
         'kni',
         'liquidio',
-        'mana',
         'memif',
         'mlx4',
         'mlx5',
Signature · 1 line
2.25.1
Acked-by on v1 1/1
#1 lore raw
Quoted 10 lines

Subject: [PATCH] net/mana: disable driver by default

Driver is disabled by default because its dependencies are not upstreamed yet, code is available for development and investigation.

When all dependencies are upstreamed, driver can be enabled back.

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

---
Cc: Long Li <[email protected]>
Cc: Stephen Hemminger <[email protected]>

---
 MAINTAINERS                            | 2 +-
 doc/guides/nics/index.rst              | 1 -
 doc/guides/rel_notes/release_22_11.rst | 2 ++
 drivers/net/meson.build                | 1 -
 4 files changed, 3 insertions(+), 3 deletions(-)
MAINTAINERS +1 -1
index 2bd4a55f1b0a..fe6c0a60b628 100644
@@ -828,7 +828,7 @@ F: buildtools/options-ibverbs-static.sh
 F: doc/guides/nics/mlx5.rst
 F: doc/guides/nics/features/mlx5.ini
 
-Microsoft mana
+Microsoft mana - EXPERIMENTAL
 M: Long Li <[email protected]>
 F: drivers/net/mana/
 F: doc/guides/nics/mana.rst
doc/guides/nics/index.rst index renamed from doc/guides/nics/index.rst +0 -0

32c754496827..f80906a97d1b 100644

doc/guides/nics/index.rst +0 -1
@@ -41,7 +41,6 @@ Network Interface Controller Drivers
     intel_vf
     kni
     liquidio
-    mana
     memif
     mlx4
     mlx5
doc/guides/rel_notes/release_22_11.rst +2 -0
index 2da8bc9661af..79bc36815659 100644
@@ -142,6 +142,8 @@ New Features
 
 * **Added Microsoft mana driver.**
 
+  Disabled by default because of missing dependency.
+
 * **Updated Netronome nfp driver.**
 
   Added the needed data structures and logics to support flow API offload:
drivers/net/meson.build index renamed from drivers/net/meson.build +0 -0

35bfa78dee66..37919eaf8b02 100644

drivers/net/meson.build +0 -2
@@ -34,7 +34,6 @@ drivers = [
         'ixgbe',
         'kni',
         'liquidio',
-        'mana',
         'memif',
         'mlx4',
         'mlx5',
--

2.25.1

#2 lore raw

13/10/2022 18:30, Long Li:

Quoted 5 lines
Quoted 5 lines

Subject: [PATCH] net/mana: disable driver by default

Driver is disabled by default because its dependencies are not upstreamed yet, code is available for development and investigation.

Quoted 7 lines
Quoted 5 lines

When all dependencies are upstreamed, driver can be enabled back.

Fixes 517ed6e2d590 ("net/mana: add basic driver with build environment")
author Applied
#3 lore raw
Quoted 8 lines · Thomas Monjalon

13/10/2022 18:30, Long Li:

Quoted 7 lines
Quoted 7 lines

Subject: [PATCH] net/mana: disable driver by default

Driver is disabled by default because its dependencies are not upstreamed yet, code is available for development and investigation.

When all dependencies are upstreamed, driver can be enabled back.

Quoted 9 lines
Quoted 5 lines
Quoted 3 lines
Fixes 517ed6e2d590 ("net/mana: add basic driver with build environment")

Applied to dpdk-next-net/main, thanks.

#4 lore raw

27/10/2022 00:57, Ferruh Yigit:

Quoted 13 lines · Thomas Monjalon
Quoted 12 lines

13/10/2022 18:30, Long Li:

Quoted 11 lines
Quoted 10 lines

Subject: [PATCH] net/mana: disable driver by default

Driver is disabled by default because its dependencies are not upstreamed yet, code is available for development and investigation.

When all dependencies are upstreamed, driver can be enabled back.

Fixes 517ed6e2d590 ("net/mana: add basic driver with build environment")
Quoted 7 lines
Quoted 5 lines
Quoted 1 line

Applied to dpdk-next-net/main, thanks.

Looks like we cannot dereference the doc:
doc/guides/nics/mana.rst:document isn't included in any toctree

#5 lore raw
Quoted 16 lines · Thomas Monjalon

27/10/2022 00:57, Ferruh Yigit:

Quoted 15 lines · Thomas Monjalon
Quoted 14 lines

13/10/2022 18:30, Long Li:

Quoted 12 lines
Quoted 10 lines

Subject: [PATCH] net/mana: disable driver by default

Driver is disabled by default because its dependencies are not upstreamed yet, code is available for development and investigation.

When all dependencies are upstreamed, driver can be enabled back.

Fixes 517ed6e2d590 ("net/mana: add basic driver with build environment")
Quoted 10 lines
Quoted 5 lines
Quoted 3 lines

Applied to dpdk-next-net/main, thanks.

Looks like we cannot dereference the doc:
doc/guides/nics/mana.rst:document isn't included in any toctree

ack

Will fix in next-net, and add mana.rst back to index to remove the warning.

#6 lore raw
In reply to Ferruh Yigit
Quoted 11 lines · Ferruh Yigit

Driver is disabled by default because its dependencies are not upstreamed yet, code is available for development and investigation.

When all dependencies are upstreamed, driver can be enabled back.

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

---
Cc: Long Li <[email protected]>
Cc: Stephen Hemminger <[email protected]>

Hi Long,

I can see mana code is merged to rdma-core, and v44 has it. Are there any more dependencies pending upstream for the driver?

If all dependencies met, can you please send a patch to revert this patch, and to update documentation related to the correct version of dependencies?

#7 lore raw

19/01/2023 15:49, Ferruh Yigit:

Quoted 14 lines · Ferruh Yigit
Quoted 11 lines

Driver is disabled by default because its dependencies are not upstreamed yet, code is available for development and investigation.

When all dependencies are upstreamed, driver can be enabled back.

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

---
Cc: Long Li <[email protected]>
Cc: Stephen Hemminger <[email protected]>

Quoted 4 lines

Hi Long,

I can see mana code is merged to rdma-core, and v44 has it. Are there any more dependencies pending upstream for the driver?

What is the status of the kernel dependency?

Quoted 3 lines

If all dependencies met, can you please send a patch to revert this patch, and to update documentation related to the correct version of dependencies?

#8 lore raw
Quoted 18 lines

Subject: Re: [PATCH] net/mana: disable driver by default

19/01/2023 15:49, Ferruh Yigit:

Quoted 15 lines · Ferruh Yigit
Quoted 12 lines

Driver is disabled by default because its dependencies are not upstreamed yet, code is available for development and investigation.

When all dependencies are upstreamed, driver can be enabled back.

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

environment")

---
Cc: Long Li <[email protected]>
Cc: Stephen Hemminger <[email protected]>

Quoted 6 lines
Quoted 4 lines

Hi Long,

I can see mana code is merged to rdma-core, and v44 has it. Are there any more dependencies pending upstream for the driver?

What is the status of the kernel dependency?

The kernel driver is merged in 6.2-rc3. I'm waiting for 6.2 to be released.

Quoted 6 lines
Quoted 4 lines

If all dependencies met, can you please send a patch to revert this patch, and to update documentation related to the correct version of dependencies?

Is it okay to submit the patch now?

Thanks,
Long

#9 lore raw

19/01/2023 17:32, Long Li:

Quoted 25 lines
Quoted 18 lines

Subject: Re: [PATCH] net/mana: disable driver by default

19/01/2023 15:49, Ferruh Yigit:

Quoted 15 lines · Ferruh Yigit
Quoted 12 lines

Driver is disabled by default because its dependencies are not upstreamed yet, code is available for development and investigation.

When all dependencies are upstreamed, driver can be enabled back.

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

environment")

---
Cc: Long Li <[email protected]>
Cc: Stephen Hemminger <[email protected]>

Quoted 6 lines
Quoted 4 lines

Hi Long,

I can see mana code is merged to rdma-core, and v44 has it. Are there any more dependencies pending upstream for the driver?

What is the status of the kernel dependency?

Quoted 7 lines

The kernel driver is merged in 6.2-rc3. I'm waiting for 6.2 to be released.

Quoted 3 lines
Quoted 3 lines

If all dependencies met, can you please send a patch to revert this patch, and to update documentation related to the correct version of dependencies?

Is it okay to submit the patch now?

Yes you can.