Re: [PATCH] net: make driver settling time configurable

From: David
Date: Mon Feb 05 2024 - 09:31:54 EST


On 2/5/24 15:06, Andrew Lunn wrote:
On Mon, Feb 05, 2024 at 12:44:40PM +0100, David Ventura wrote:
During IP auto configuration, some drivers apparently need to wait a
certain length of time to settle; as this is not true for all drivers,
make this length of time configurable.
Do you see this problem with multiple drivers, or just one in
particular. To me this seems like a driver bug, and you are just
papering over the cracks.

Andrew
I don't know of any drivers that may need to wait -- I noticed
this code path being hit when building a minimal kernel that only
had a virtio network device.
At least for the virtio device, the wait is unnecessary and bloats
the time to boot a minimal kernel from 15ms to 33ms.

    David