Re: [PATCH net 6/8] net: hns3: fix reset timeout under full functions and queues

From: Jijie Shao
Date: Fri Mar 08 2024 - 04:38:35 EST



on 2024/3/7 19:24, Sunil Kovvuri Goutham wrote:
In order to avoid the above extreme situations, the driver extends the reset
timeout to 1 second.

Reviewed-by: Sunil Goutham <sgoutham@xxxxxxxxxxx>

But one observation, loop of udelay(1) for 1sec seems a lot, probably better to use usleep_range().

but this is protected by splock, so cannot use usleep_range().