[v2] doc/guides: Mention needed kernel option for mlx5

Message ID CA++ArTjpo7QE5t4F0eevDsiuWtB_WN12FU9nxakxQ2a=nFxp5w@mail.gmail.com (mailing list archive)
State Awaiting Upstream
Delegated to: Raslan Darawsheh
Headers
Series [v2] doc/guides: Mention needed kernel option for mlx5 |

Checks

Context Check Description
ci/checkpatch warning coding style issues
ci/loongarch-compilation warning apply patch failure
ci/Intel-compilation warning apply issues

Commit Message

Jaromír Smrček March 6, 2025, 9:09 p.m. UTC
On some kernels (Debian 6.6, 6.9 and 6.10 tested),
there is a missing option for "TC recirculation"
that prevents MLX5 driver to include CONFIG_MLX5_CLS_ACT
in the compilation, thus preventing PF1
from properly working in multiport-eswitch mode.

Fixes: 11c73de9ef63 ("net/mlx5: probe multi-port E-Switch device")

v2:
- Added additional MLX5 kernel option
- Fixed patch formatting
- Added "Fixes" tag

Signed-off-by: Jaromír Smrček <4plague@gmail.com>
---
 doc/guides/nics/mlx5.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

 Configuration
--
2.39.2
  

Comments

Dariusz Sosnowski June 4, 2025, 9:46 a.m. UTC | #1
Hi,

On Thu, Mar 06, 2025 at 10:09:08PM +0100, Jaromír Smrček wrote:
> On some kernels (Debian 6.6, 6.9 and 6.10 tested),
> there is a missing option for "TC recirculation"
> that prevents MLX5 driver to include CONFIG_MLX5_CLS_ACT
> in the compilation, thus preventing PF1
> from properly working in multiport-eswitch mode.
> 
> Fixes: 11c73de9ef63 ("net/mlx5: probe multi-port E-Switch device")
> 
> v2:
> - Added additional MLX5 kernel option
> - Fixed patch formatting
> - Added "Fixes" tag
> 
> Signed-off-by: Jaromír Smrček <4plague@gmail.com>

Acked-by: Dariusz Sosnowski <dsosnowski@nvidia.com>

Best regards,
Dariusz Sosnowski
  
Raslan Darawsheh June 10, 2025, 1:17 p.m. UTC | #2
Hi,


On 06/03/2025 11:09 PM, Jaromír Smrček wrote:
> On some kernels (Debian 6.6, 6.9 and 6.10 tested),
> there is a missing option for "TC recirculation"
> that prevents MLX5 driver to include CONFIG_MLX5_CLS_ACT
> in the compilation, thus preventing PF1
> from properly working in multiport-eswitch mode.
> 
> Fixes: 11c73de9ef63 ("net/mlx5: probe multi-port E-Switch device")
> 
> v2:
> - Added additional MLX5 kernel option
> - Fixed patch formatting
> - Added "Fixes" tag
> 
> Signed-off-by: Jaromír Smrček <4plague@gmail.com>
> ---
>   doc/guides/nics/mlx5.rst | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst
> index 30c40f767b..06c6e80f83 100644
> --- a/doc/guides/nics/mlx5.rst
> +++ b/doc/guides/nics/mlx5.rst
> @@ -1713,7 +1713,7 @@ Supported HCAs:
> 
>   Supported mlx5 kernel modules versions:
> 
> -- Upstream Linux - from version 6.3.
> +- Upstream Linux - from version 6.3. with CONFIG_NET_TC_SKB_EXT and
> CONFIG_MLX5_CLS_ACT enabled
>   - Modules packaged in MLNX_OFED - from version v23.04-0.5.3.3.
> 
>   Configuration
> --
> 2.39.2


Patch applied to next-net-mlx,

Kindest regards
Raslan Darawsheh
  

Patch

diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst
index 30c40f767b..06c6e80f83 100644
--- a/doc/guides/nics/mlx5.rst
+++ b/doc/guides/nics/mlx5.rst
@@ -1713,7 +1713,7 @@  Supported HCAs:

 Supported mlx5 kernel modules versions:

-- Upstream Linux - from version 6.3.
+- Upstream Linux - from version 6.3. with CONFIG_NET_TC_SKB_EXT and
CONFIG_MLX5_CLS_ACT enabled
 - Modules packaged in MLNX_OFED - from version v23.04-0.5.3.3.