[PATCH v3] net/mlx5: add validation for indirect actions
Dariusz Sosnowski
dsosnowski at nvidia.com
Thu May 21 12:00:10 CEST 2026
On Thu, May 14, 2026 at 03:33:59PM -0400, Rayane Boussanni wrote:
> This patch implements missing validation logic for RSS and Connection
> Tracking (ConnTrack) indirect actions in the Hardware Steering (HWS)
> flow engine.
>
> Previously, these actions were accepted without being validated
> against hardware capabilities, which could lead to unexpected behavior
> when applying flow rules. The specialist validation functions
> (mlx5_hw_validate_action_rss and mlx5_hw_validate_action_conntrack)
> already existed but were not wired up to the indirect action handler.
>
> The signature of flow_hw_validate_action_indirect was updated to
> include the actions template attributes (attr), allowing it to pass
> the necessary traffic direction context (ingress/egress/transfer)
> to the underlying validation specialists. For indirect RSS, only the
> template attributes are validated, as the RSS configuration itself is
> already validated when the indirect action handle is created.
>
> Reported-by: Dariusz Sosnowski <dsosnowski at nvidia.com>
> Signed-off-by: Rayane Boussanni <rboussanni at gmail.com>
Acked-by: Dariusz Sosnowski <dsosnowski at nvidia.com>
Thank you for the contribution.
Could you please mark the older versions of this patch as Superseded in Patchwork?
- https://patches.dpdk.org/project/dpdk/patch/20260416001052.2624-1-rboussanni@gmail.com/
- https://patches.dpdk.org/project/dpdk/patch/20260417150153.63149-1-rboussanni@gmail.com/
- https://patches.dpdk.org/project/dpdk/patch/20260417222104.66543-1-rboussanni@gmail.com/
Best regards,
Dariusz Sosnowski
More information about the dev
mailing list