[PATCH] net/mlx5: fix higher flow tag indexes support on root

Raslan Darawsheh rasland at nvidia.com
Tue Nov 18 12:23:44 CET 2025


Hi,


On 14/11/2025 10:17 PM, Dariusz Sosnowski wrote:
> Offending patch introduced support for additional flow tag indexes
> with HW Steering flow engine. New tag indexes will be mapped
> to HW registers REG_C_8 to REG_C_11, depending on HW capabilities.
> 
> That patch only handled tables created on group > 0 (non-root table),
> where mlx5 PMD directly configures the HW.
> Tables and flow rules on group 0 (root table) are handled through
> kernel driver, and new registers were not addressed for that case.
> 
> Because of that, usage of unsupported tag index in group 0
> triggered an assertion in flow_dv_match_meta_reg().
> 
> This patch adds necessary definitions for REG_C_8 to REG_C_11 to make
> these registers usable for flow tag indexes in root table.
> Validation of flow tag to HW register translation is also amended
> to report invalid cases to the user, instead of relying on assertions.
> 
> Fixes: 7e3a14423c1a ("net/mlx5/hws: support 4 additional C registers")
> Cc: igozlan at nvidia.com
> Cc: stable at dpdk.org
> 
> Signed-off-by: Dariusz Sosnowski <dsosnowski at nvidia.com>

Patch applied to next-net-mlx,
Kindest regards
Raslan Darawsheh



More information about the stable mailing list