Hi,
On 01/12/2025 7:36 PM, Gregory Etelson wrote:
The PMD relied on a flow domain type in register selection for
modify header action that assigned metadata value.
In the HWS code, the PMD uses the MLX5DR_TABLE_TYPE_MAX instead of
the exact domain type for flows in group 0.
As a result, the register selection was wrong.
This patch fixes the register selection logic when flow metadata
sharing between E-Switch and VM is enabled.
In this case REG_C_1 will always be used.
Fixes: a78425ba3793 ("net/mlx5: support flow metadata between E-Switch and VM")
Cc: [email protected]
Signed-off-by: Gregory Etelson <[email protected]>
Acked-by: Dariusz Sosnowski <[email protected]>
Patch applied to next-net-mlx,
Kindest regards
Raslan Darawsheh