Re: [PATCH net 6/8] net: hns3: fix reset timeout under full functions and queues
From: Jijie Shao <shaojijie@huawei.com>
Date: 2024-03-08 09:38:25
Also in:
lkml
From: Jijie Shao <shaojijie@huawei.com>
Date: 2024-03-08 09:38:25
Also in:
lkml
on 2024/3/7 19:24, Sunil Kovvuri Goutham wrote:
quoted
In order to avoid the above extreme situations, the driver extends the reset timeout to 1 second.Reviewed-by: Sunil Goutham <sgoutham@marvell.com> 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().