Re: [PATCH 1/2] net/mlx5/hws: fix rule resize status check

2024-03-24 Thread Thomas Monjalon
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

[PATCH 1/2] net/mlx5/hws: fix rule resize status check

2024-03-21 Thread 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 pro