On 3/12/2024 6:06 PM, [email protected] wrote:
> From: Shai Brandes <[email protected]>
>
> Limit the value of the exponent used for this backoff
> at (1<<16) to prevent it from reaching to an excessive
> value (1<<32) or potentially even overflowing.
> In addition, for uniformity and readability purposes,
> the min/max parameter in the calls of ENA_MIN32 and
> ENA_MAX32 macros was changed to be first.
>
> Signed-off-by: Shai Brandes <[email protected]>
> Reviewed-by: Amit Bernstein <[email protected]>
>
Fixes: 0c84e04824db ("net/ena/base: make delay exponential in polling
functions")
Cc: [email protected]