net/mana: disable driver by default

Message ID 20221013114754.958302-1-ferruh.yigit@amd.com (mailing list archive)
State Accepted, archived
Delegated to: Ferruh Yigit
Headers
Series net/mana: disable driver by default |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK
ci/iol-mellanox-Performance success Performance Testing PASS
ci/iol-aarch64-unit-testing success Testing PASS
ci/iol-aarch64-compile-testing success Testing PASS
ci/intel-Testing success Testing PASS
ci/github-robot: build fail github build: failed
ci/iol-x86_64-compile-testing success Testing PASS
ci/iol-x86_64-unit-testing success Testing PASS
ci/iol-intel-Functional success Functional Testing PASS
ci/iol-intel-Performance success Performance Testing PASS

Commit Message

Ferruh Yigit Oct. 13, 2022, 11:47 a.m. UTC
  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")

Signed-off-by: Ferruh Yigit <ferruh.yigit@amd.com>
---
Cc: Long Li <longli@microsoft.com>
Cc: Stephen Hemminger <sthemmin@microsoft.com>
---
 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(-)
  

Comments

Long Li Oct. 13, 2022, 4:30 p.m. UTC | #1
> 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")
> 
> Signed-off-by: Ferruh Yigit <ferruh.yigit@amd.com>

Acked-by: Long Li <longli@microsoft.com>

> ---
> Cc: Long Li <longli@microsoft.com>
> Cc: Stephen Hemminger <sthemmin@microsoft.com>
> ---
>  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(-)
> 
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 2bd4a55f1b0a..fe6c0a60b628 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -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 <longli@microsoft.com>
>  F: drivers/net/mana/
>  F: doc/guides/nics/mana.rst
> diff --git a/doc/guides/nics/index.rst b/doc/guides/nics/index.rst index
> 32c754496827..f80906a97d1b 100644
> --- a/doc/guides/nics/index.rst
> +++ b/doc/guides/nics/index.rst
> @@ -41,7 +41,6 @@ Network Interface Controller Drivers
>      intel_vf
>      kni
>      liquidio
> -    mana
>      memif
>      mlx4
>      mlx5
> diff --git a/doc/guides/rel_notes/release_22_11.rst
> b/doc/guides/rel_notes/release_22_11.rst
> index 2da8bc9661af..79bc36815659 100644
> --- a/doc/guides/rel_notes/release_22_11.rst
> +++ b/doc/guides/rel_notes/release_22_11.rst
> @@ -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:
> diff --git a/drivers/net/meson.build b/drivers/net/meson.build index
> 35bfa78dee66..37919eaf8b02 100644
> --- a/drivers/net/meson.build
> +++ b/drivers/net/meson.build
> @@ -34,7 +34,6 @@ drivers = [
>          'ixgbe',
>          'kni',
>          'liquidio',
> -        'mana',
>          'memif',
>          'mlx4',
>          'mlx5',
> --
> 2.25.1
  
Thomas Monjalon Oct. 26, 2022, 9:53 p.m. UTC | #2
13/10/2022 18:30, Long Li:
> > 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")
> > 
> > Signed-off-by: Ferruh Yigit <ferruh.yigit@amd.com>
> 
> Acked-by: Long Li <longli@microsoft.com>

Acked-by: Thomas Monjalon <thomas@monjalon.net>
  
Ferruh Yigit Oct. 26, 2022, 10:57 p.m. UTC | #3
On 10/26/2022 10:53 PM, Thomas Monjalon wrote:
> 13/10/2022 18:30, Long Li:
>>> 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")
>>>
>>> Signed-off-by: Ferruh Yigit <ferruh.yigit@amd.com>
>>
>> Acked-by: Long Li <longli@microsoft.com>
> 
> Acked-by: Thomas Monjalon <thomas@monjalon.net>
> 
> 

Applied to dpdk-next-net/main, thanks.
  
Thomas Monjalon Oct. 27, 2022, 6:13 a.m. UTC | #4
27/10/2022 00:57, Ferruh Yigit:
> On 10/26/2022 10:53 PM, Thomas Monjalon wrote:
> > 13/10/2022 18:30, Long Li:
> >>> 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")
> >>>
> >>> Signed-off-by: Ferruh Yigit <ferruh.yigit@amd.com>
> >>
> >> Acked-by: Long Li <longli@microsoft.com>
> > 
> > Acked-by: Thomas Monjalon <thomas@monjalon.net>
> > 
> > 
> 
> 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
  
Ferruh Yigit Oct. 27, 2022, 9:04 a.m. UTC | #5
On 10/27/2022 7:13 AM, Thomas Monjalon wrote:
> 27/10/2022 00:57, Ferruh Yigit:
>> On 10/26/2022 10:53 PM, Thomas Monjalon wrote:
>>> 13/10/2022 18:30, Long Li:
>>>>> 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")
>>>>>
>>>>> Signed-off-by: Ferruh Yigit <ferruh.yigit@amd.com>
>>>>
>>>> Acked-by: Long Li <longli@microsoft.com>
>>>
>>> Acked-by: Thomas Monjalon <thomas@monjalon.net>
>>>
>>>
>>
>> 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.
  
Ferruh Yigit Jan. 19, 2023, 2:49 p.m. UTC | #6
On 10/13/2022 12:47 PM, Ferruh Yigit wrote:
> 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")
> 
> Signed-off-by: Ferruh Yigit <ferruh.yigit@amd.com>
> ---
> Cc: Long Li <longli@microsoft.com>
> Cc: Stephen Hemminger <sthemmin@microsoft.com>


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?
  
Thomas Monjalon Jan. 19, 2023, 3:56 p.m. UTC | #7
19/01/2023 15:49, Ferruh Yigit:
> On 10/13/2022 12:47 PM, Ferruh Yigit wrote:
> > 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")
> > 
> > Signed-off-by: Ferruh Yigit <ferruh.yigit@amd.com>
> > ---
> > Cc: Long Li <longli@microsoft.com>
> > Cc: Stephen Hemminger <sthemmin@microsoft.com>
> 
> 
> 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?

> 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?
  
Long Li Jan. 19, 2023, 4:32 p.m. UTC | #8
> Subject: Re: [PATCH] net/mana: disable driver by default
> 
> 19/01/2023 15:49, Ferruh Yigit:
> > On 10/13/2022 12:47 PM, Ferruh Yigit wrote:
> > > 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")
> > >
> > > Signed-off-by: Ferruh Yigit <ferruh.yigit@amd.com>
> > > ---
> > > Cc: Long Li <longli@microsoft.com>
> > > Cc: Stephen Hemminger <sthemmin@microsoft.com>
> >
> >
> > 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.

> 
> > 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
  
Thomas Monjalon Jan. 19, 2023, 6:05 p.m. UTC | #9
19/01/2023 17:32, Long Li:
> > Subject: Re: [PATCH] net/mana: disable driver by default
> > 
> > 19/01/2023 15:49, Ferruh Yigit:
> > > On 10/13/2022 12:47 PM, Ferruh Yigit wrote:
> > > > 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")
> > > >
> > > > Signed-off-by: Ferruh Yigit <ferruh.yigit@amd.com>
> > > > ---
> > > > Cc: Long Li <longli@microsoft.com>
> > > > Cc: Stephen Hemminger <sthemmin@microsoft.com>
> > >
> > >
> > > 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.
> 
> > > 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.
  

Patch

diff --git a/MAINTAINERS b/MAINTAINERS
index 2bd4a55f1b0a..fe6c0a60b628 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -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 <longli@microsoft.com>
 F: drivers/net/mana/
 F: doc/guides/nics/mana.rst
diff --git a/doc/guides/nics/index.rst b/doc/guides/nics/index.rst
index 32c754496827..f80906a97d1b 100644
--- a/doc/guides/nics/index.rst
+++ b/doc/guides/nics/index.rst
@@ -41,7 +41,6 @@  Network Interface Controller Drivers
     intel_vf
     kni
     liquidio
-    mana
     memif
     mlx4
     mlx5
diff --git a/doc/guides/rel_notes/release_22_11.rst b/doc/guides/rel_notes/release_22_11.rst
index 2da8bc9661af..79bc36815659 100644
--- a/doc/guides/rel_notes/release_22_11.rst
+++ b/doc/guides/rel_notes/release_22_11.rst
@@ -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:
diff --git a/drivers/net/meson.build b/drivers/net/meson.build
index 35bfa78dee66..37919eaf8b02 100644
--- a/drivers/net/meson.build
+++ b/drivers/net/meson.build
@@ -34,7 +34,6 @@  drivers = [
         'ixgbe',
         'kni',
         'liquidio',
-        'mana',
         'memif',
         'mlx4',
         'mlx5',