[PATCH 3/4] net/mlx5: fix internal HWS pattern template creation

Dariusz Sosnowski dsosnowski at nvidia.com
Mon Jan 12 19:18:36 CET 2026


On Mon, Jan 12, 2026 at 11:24:37AM +0200, Maayan Kashani wrote:
> HWS pattern template creation tries to build a table with
> the tested items after basic verifications to check
> if the pattern is valid.
> 
> Time consumed in that table creation can be critical for applications
> that require fast PMD initialization.
> 
> The patch separates pattern templates to internal and external.
> Internal templates are created by the PMD and are considered safe and
> can skip some validations.
> Pattern templates provided by applications will be fully validated.
> 
> Fixes: a190f25e6a93 ("net/mlx5: improve pattern template validation")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Gregory Etelson <getelson at nvidia.com>
> Signed-off-by: Maayan Kashani <mkashani at nvidia.com>

Acked-by: Dariusz Sosnowski <dsosnowski at nvidia.com>

Best regards,
Dariusz Sosnowski


More information about the stable mailing list