[PATCH] net/mlx5: fix mark action creation
Raslan Darawsheh
rasland at nvidia.com
Sun Aug 31 14:19:11 CEST 2025
Hi,
On 14/08/2025 4:24 PM, Dariusz Sosnowski wrote:
> Mark flow action is implemented using a flow tag action
> exposed by HWS layer.
> Whenever flow tag action is used in FDB domain,
> HWS layer has to create relevant STC for both FDB sides,
> i.e., FDB_RX and FDB_TX.
> Flow tag action is not supported on FDB_TX.
>
> This patch adds missing STC fixup code when FDB domain is used,
> so that on FDB_TX side, NOP action is used in place of flow tag.
>
> It also updates the higher level mlx5 PMD code to reject usage of mark
> flow action in actions templates with transfer attribute set,
> and prohibits creation of flow tag action on FDB
> if it is not supported by current FW.
>
> Fixes: 794b9b37922f ("net/mlx5: allow FDB RSS")
>
> Signed-off-by: Erez Shitrit <erezsh at nvidia.com>
> Signed-off-by: Dariusz Sosnowski <dsosnowski at nvidia.com>
> Acked-by: Bing Zhao <bingz at nvidia.com>
> Acked-by: Suanming Mou <suanmingm at nvidia.com>
Patch applied to next-net-mlx,
Kindest regards
Raslan Darawsheh
More information about the dev
mailing list