Skip to content

[email protected] netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ipconfig: use same time units for CONF_{PRE,POST}_OPEN delaysnet/ipv4/ipconfig.c+2 -20 replies
2/3ipconfig: add 'ipwait' cmdline parameterDocumentation/filesystems/nfsroot.txt net/ipv4/ipconfig.c+37 -30 replies
3/3ipconfig: look for a network device forever if NFS rootnet/ipv4/ipconfig.c+11 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3]

Hi,

this patch series adds some flexibility to ip_auto_config() function. Currently the function assumes that 500 msec delay before opening a network device is enough, but it's not true for some h/w configurations, e.g. if you're using a USB network device.
In my case it may take up to 2 seconds before the device gets available for opening.

[PATCH 1/3] ipconfig: use same time units for CONF_{PRE,POST}_OPEN delays
this is just a small cleanup

[PATCH 2/3] ipconfig: add 'ipwait' cmdline parameter
I introduce a new cmdline parameter so it's possible to configure two delays, before and after opening of network devices. It can be used to increase default delay and it also might be useful in optimizing of kernel boot-up time, you can save ~1 second if you know that you h/w does not need that delays, 500 msec before and 1 second after.

[PATCH 3/3] ipconfig: look for a network device forever if NFS root
As time needed for a USB net device to settle may vary from time to time, it's hard to predict how much msecs it would take next time. If we're using such a device to mount a NFS root filesystem it gets critical for us as we can't proceed work if a net device has not found, so we have to loop until a suitable device gets available.

Tested on TI OMAP3530 Beagle board.

Regards,
Dmitry