[PATCH] net/mlx5: fix flag non-template rule cleanup
Raslan Darawsheh
rasland at nvidia.com
Tue Jun 10 15:19:30 CEST 2025
Hi,
On 05/06/2025 1:07 PM, Junfeng Guo wrote:
> Set the flag nt_rule to be FALSE whenever the flow rule is created
> through template API. This would ensure that this flow is always
> treated as template API flow after mlx5_ipool_malloc without being
> zeroing via memset.
>
> Otherwise, some tables or template actions may be still in use for
> port init stage when attaching a port for template or non-template
> rule, in scenarios where the uninitialized memory nt_rule happens
> to contain a TRUE value.
>
> Fixes: 2fda185a8c1c ("net/mlx5: reuse flow fields")
> Fixes: 63296851fadb ("net/mlx5: support flow rule update")
> Cc: stable at dpdk.org
>
> Signed-off-by: Junfeng Guo <junfengg at nvidia.com>
> Acked-by: Dariusz Sosnowski <dsosnowski at nvidia.com>
Patch applied to next-net-mlx,
Kindest regards
Raslan Darawsheh
More information about the dev
mailing list