[PATCH 1/2] net/mlx5/hws: fix rule resize status check
Thomas Monjalon
thomas at monjalon.net
Sun Mar 24 23:12:02 CET 2024
21/03/2024 15:24, Yevgeny Kliteynik:
> The check to detect if a rule is in resize was done incorrectly,
> this can lead to an incorrect function call upon completion for
> rules which are not in resize (move).
> Since the resize_info is in a union we cannot rely only on the
> pointer value but also need to make sure the matcher is in resize
> process, this assures us the resize info is valid.
>
> Fixes: 762feceb8294 ("net/mlx5/hws: support resizable matchers")
>
> Signed-off-by: Yevgeny Kliteynik <kliteyn at nvidia.com>
> Signed-off-by: Alex Vesker <valex at nvidia.com>
> Acked-by: Matan Azrad <matan at nvidia.com>
Series applied, thanks.
More information about the dev
mailing list