patches for DPDK stable branches
 help / color / mirror / Atom feed
* [PATCH] net/mlx5/hws: fix TIR action support in FDB
@ 2025-08-14 13:20 Dariusz Sosnowski
  2025-08-15 15:21 ` Patrick Robb
  0 siblings, 1 reply; 2+ messages in thread
From: Dariusz Sosnowski @ 2025-08-14 13:20 UTC (permalink / raw)
  To: Viacheslav Ovsiienko, Bing Zhao, Ori Kam, Suanming Mou,
	Matan Azrad, Alex Vesker, Erez Shitrit
  Cc: dev, stable

TIR action was not added as an allowed action in FDB domain.
This prevented the usage of RSS flow action in transfer flow rules
with HW Steering flow engine.

Fixes: 1f8fc88d4d31 ("net/mlx5/hws: allow jump to TIR over FDB")
Cc: valex@nvidia.com
Cc: stable@dpdk.org

Signed-off-by: Dariusz Sosnowski <dsosnowski@nvidia.com>
Acked-by: Bing Zhao <bingz@nvidia.com>
Acked-by: Suanming Mou <suanmingm@nvidia.com>
---
 drivers/net/mlx5/hws/mlx5dr_action.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/mlx5/hws/mlx5dr_action.c b/drivers/net/mlx5/hws/mlx5dr_action.c
index c1c6d28ac4..d765d57a8f 100644
--- a/drivers/net/mlx5/hws/mlx5dr_action.c
+++ b/drivers/net/mlx5/hws/mlx5dr_action.c
@@ -94,6 +94,7 @@ static const uint32_t action_order_arr[MLX5DR_TABLE_TYPE_MAX][MLX5DR_ACTION_TYP_
 		BIT(MLX5DR_ACTION_TYP_REFORMAT_L2_TO_TNL_L3),
 		BIT(MLX5DR_ACTION_TYP_TBL) |
 		BIT(MLX5DR_ACTION_TYP_MISS) |
+		BIT(MLX5DR_ACTION_TYP_TIR) |
 		BIT(MLX5DR_ACTION_TYP_VPORT) |
 		BIT(MLX5DR_ACTION_TYP_DROP) |
 		BIT(MLX5DR_ACTION_TYP_DEST_ROOT) |
-- 
2.39.5


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] net/mlx5/hws: fix TIR action support in FDB
  2025-08-14 13:20 [PATCH] net/mlx5/hws: fix TIR action support in FDB Dariusz Sosnowski
@ 2025-08-15 15:21 ` Patrick Robb
  0 siblings, 0 replies; 2+ messages in thread
From: Patrick Robb @ 2025-08-15 15:21 UTC (permalink / raw)
  To: Dariusz Sosnowski
  Cc: Viacheslav Ovsiienko, Bing Zhao, Ori Kam, Suanming Mou,
	Matan Azrad, Alex Vesker, Erez Shitrit, dev, stable

[-- Attachment #1: Type: text/plain, Size: 1452 bytes --]

Sending a CI testing retest for this series because of a suspected false
failure on the packet capture testsuite.

On Thu, Aug 14, 2025 at 9:22 AM Dariusz Sosnowski <dsosnowski@nvidia.com>
wrote:

> TIR action was not added as an allowed action in FDB domain.
> This prevented the usage of RSS flow action in transfer flow rules
> with HW Steering flow engine.
>
> Fixes: 1f8fc88d4d31 ("net/mlx5/hws: allow jump to TIR over FDB")
> Cc: valex@nvidia.com
> Cc: stable@dpdk.org
>
> Signed-off-by: Dariusz Sosnowski <dsosnowski@nvidia.com>
> Acked-by: Bing Zhao <bingz@nvidia.com>
> Acked-by: Suanming Mou <suanmingm@nvidia.com>
> ---
>  drivers/net/mlx5/hws/mlx5dr_action.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/net/mlx5/hws/mlx5dr_action.c
> b/drivers/net/mlx5/hws/mlx5dr_action.c
> index c1c6d28ac4..d765d57a8f 100644
> --- a/drivers/net/mlx5/hws/mlx5dr_action.c
> +++ b/drivers/net/mlx5/hws/mlx5dr_action.c
> @@ -94,6 +94,7 @@ static const uint32_t
> action_order_arr[MLX5DR_TABLE_TYPE_MAX][MLX5DR_ACTION_TYP_
>                 BIT(MLX5DR_ACTION_TYP_REFORMAT_L2_TO_TNL_L3),
>                 BIT(MLX5DR_ACTION_TYP_TBL) |
>                 BIT(MLX5DR_ACTION_TYP_MISS) |
> +               BIT(MLX5DR_ACTION_TYP_TIR) |
>                 BIT(MLX5DR_ACTION_TYP_VPORT) |
>                 BIT(MLX5DR_ACTION_TYP_DROP) |
>                 BIT(MLX5DR_ACTION_TYP_DEST_ROOT) |
> --
> 2.39.5
>
>

[-- Attachment #2: Type: text/html, Size: 2169 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-08-15 15:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-14 13:20 [PATCH] net/mlx5/hws: fix TIR action support in FDB Dariusz Sosnowski
2025-08-15 15:21 ` Patrick Robb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).