Re: [PATCH net-next] net: ipconfig: Make device wait timeout configurable

From: Thomas Bogendoerfer
Date: Wed Nov 20 2019 - 02:40:00 EST


On Tue, 19 Nov 2019 18:44:46 -0800 (PST)
David Miller <davem@xxxxxxxxxxxxx> wrote:

> From: Thomas Bogendoerfer <tbogendoerfer@xxxxxxx>
> Date: Tue, 19 Nov 2019 13:06:46 +0100
>
> > If network device drivers are using deferred probing it's possible
> > that waiting for devices to show up in ipconfig is already over,
> > when the device eventually shows up. With the new netdev_max_wait
> > kernel cmdline pataremter it's now possible to extend this time.
> >
> > Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@xxxxxxx>
>
> This is one of those "user's shouldn't have to figure this crap out"
> situations.
>
> To me, a knob is always a step backwards, and makes Linux harder to
> use.
>
> The irony in all of this, is that the kernel knows when this stuff is
> happening. So the ipconfig code should be taught that drivers are
> still plugging themselves together and probing, instead of setting
> some arbitrary timeout to wait for these things to occur.

fine with, I'll have a look how to solve it taht way.

Thomas.

--
SUSE Software Solutions Germany GmbH
HRB 36809 (AG Nürnberg)
Geschäftsführer: Felix Imendörffer