[PATCH] net/mlx5: fix access to auxiliary flow data

Thomas Monjalon thomas at monjalon.net
Thu Jun 26 14:52:21 CEST 2025


25/06/2025 11:43, Gregory Etelson:
> The MLX5 PMD keeps non-essential flow data in an auxiliary structure
> to reduce flow L1 cache usage.
> 
> The auxiliary data location differs in HWS and non-template flows.
> 
> The PMD tried to fetch HWS flow table from a non-template flow object
> and accessed stale memory address.
> 
> The patch separates the `mlx5_flow_hw_aux()` implementation for HWS
> and non-template flows
> 
> Fixes: 27d171b88031 ("net/mlx5: abstract flow action and enable reconfigure")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Gregory Etelson <getelson at nvidia.com>
> Acked-by: Dariusz Sosnowski <dsosnowski at nvidia.com>

Applied with commit log reworded to mention "async template" Vs "sync non-template", thanks.




More information about the dev mailing list