[PATCH] net/mlx5: fix flex tunnel validation
Raslan Darawsheh
rasland at nvidia.com
Tue May 13 08:27:51 CEST 2025
Hi,
On 30/04/2025 2:03 PM, Dariusz Sosnowski wrote:
> Pattern template validation did not take into account
> the configured tunnel mode of the flex item.
> This caused validation failures for templates with
> flex item registered as tunnel headers.
> Specifically, any item after such flex item was still considered
> as outer header, not an inner.
>
> This patch fixes the flex item validation,
> by correctly updating recognized items bitmask depending
> on flex item mode.
>
> Fixes: 80c676259a04 ("net/mlx5: validate HWS template items")
> Cc: getelson at nvidia.com
> Cc: stable at dpdk.org
>
> Signed-off-by: Dariusz Sosnowski <dsosnowski at nvidia.com>
> Acked-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>
> ---
Patch applied to next-net-mlx,
--
Kindest regards
Raslan Darawsheh
More information about the dev
mailing list