Re: [PATCH net-next v2 4/8] net/mlx5: HWS, Create STEs directly from matcher
From: Simon Horman
Date: Tue Jun 24 2025 - 14:57:52 EST
On Sun, Jun 22, 2025 at 08:22:22PM +0300, Mark Bloch wrote:
> From: Vlad Dogaru <vdogaru@xxxxxxxxxx>
>
> Matchers were using the pool abstraction solely as a convenience
> to allocate two STE ranges. The pool's core functionality, that
> of allocating individual items from the range, was unused.
> Matchers rely either on the hardware to hash rules into a table,
> or on a user-provided index.
>
> Remove the STE pool from the matcher and allocate the STE ranges
> manually instead.
>
> Signed-off-by: Vlad Dogaru <vdogaru@xxxxxxxxxx>
> Reviewed-by: Yevgeny Kliteynik <kliteyn@xxxxxxxxxx>
> Signed-off-by: Mark Bloch <mbloch@xxxxxxxxxx>
Reviewed-by: Simon Horman <horms@xxxxxxxxxx>