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 <[email protected]>
Signed-off-by: Dariusz Sosnowski <[email protected]>
Acked-by: Bing Zhao <[email protected]>
Acked-by: Suanming Mou <[email protected]>

Patch applied to next-net-mlx,

Kindest regards
Raslan Darawsheh

Reply via email to