On 3/12/2024 6:06 PM, shaib...@amazon.com wrote: > From: Shai Brandes <shaib...@amazon.com> > > 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 <shaib...@amazon.com> > Reviewed-by: Amit Bernstein <amitb...@amazon.com> >
Fixes: 0c84e04824db ("net/ena/base: make delay exponential in polling functions") Cc: sta...@dpdk.org