[PATCH] net/mlx5: fix modify field action on group 0
Raslan Darawsheh
rasland at nvidia.com
Mon May 12 08:24:46 CEST 2025
Hi,
On 25/04/2025 10:32 PM, Dariusz Sosnowski wrote:
> HW modify header commands generated for multiple modify field
> flow actions, which modify/access the same packet fields
> do not have to be separated by NOPs when used on group 0.
> This is because:
>
> - On group > 0, HW uses Modify Header Pattern objects
> which require NOP explicitly.
> - On group 0, modify field action is implemented using
> Modify Header Context object managed by FW.
> FW inserts requires NOPs internally.
>
> mlx5 PMD inserted NOP always, which caused flow/table creation
> failures on group 0 flow rules.
> This patch addresses that.
>
> Fixes: 0f4aa72b99da ("net/mlx5: support flow modify field with HWS")
> Cc: suanmingm at nvidia.com
> Cc: stable at dpdk.org
>
> Signed-off-by: Dariusz Sosnowski <dsosnowski at nvidia.com>
> Acked-by: Bing Zhao <bingz at nvidia.com>
Patch applied to next-net-mlx,
--
Kindest regards
Raslan Darawsheh
More information about the dev
mailing list