Re: [PATCH net-next 2/3] net/mlx5: HWS, Handle destroying table that has a miss table

From: Simon Horman

Date: Sun May 10 2026 - 15:04:52 EST


On Thu, May 07, 2026 at 08:34:42PM +0300, Tariq Toukan wrote:
> From: Yevgeny Kliteynik <kliteyn@xxxxxxxxxx>
>
> If a table has a miss table that was created by
> 'mlx5hws_table_set_default_miss' API function, its miss_tbl
> keeps the table that points to it in a list.
> If such table is deleted, we need to also remove it from the
> miss_tbl list, otherwise the node in miss_tbl list will contain
> garbage.
>
> Signed-off-by: Erez Shitrit <erezsh@xxxxxxxxxx>
> Signed-off-by: Yevgeny Kliteynik <kliteyn@xxxxxxxxxx>
> Reviewed-by: Moshe Shemesh <moshe@xxxxxxxxxx>
> Signed-off-by: Tariq Toukan <tariqt@xxxxxxxxxx>

Reviewed-by: Simon Horman <horms@xxxxxxxxxx>