Skip to contentSkip to conversation

net/mlx5/hws: fix TIR action support in FDB

PATCH In review Dariusz Sosnowski 3 participants 3 messages Aug 14, 2025 – Aug 31, 2025 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net/mlx5/hws: fix TIR action support in FDB

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")
---
 drivers/net/mlx5/hws/mlx5dr_action.c | 1 +
 1 file changed, 1 insertion(+)
drivers/net/mlx5/hws/mlx5dr_action.c +1 -0
index c1c6d28ac4..d765d57a8f 100644
@@ -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) |
Signature · 1 line
2.39.5
#1 lore raw

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

Quoted 33 lines · Dariusz Sosnowski

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")
---
 drivers/net/mlx5/hws/mlx5dr_action.c | 1 +
 1 file changed, 1 insertion(+)
drivers/net/mlx5/hws/mlx5dr_action.c +0 -0
index c1c6d28ac4..d765d57a8f 100644
@@ -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

#2 lore raw
In reply to Dariusz Sosnowski

Hi,

Quoted 11 lines · Dariusz Sosnowski

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")

Patch applied to next-net-mlx,

Kindest regards
Raslan Darawsheh