Re: [PATCH 2/3] Adjust Netpoll timeout logic

2005-11-27 Thread Patrick McHardy
Michael Frank wrote: On Sunday 27 November 2005 19:45, Patrick McHardy wrote: I don't see how that would affect the maximum. The question remains, why do you want to increase the maximum? The cause of this patch was 2.6.11 which had 10s maximum Then just keep the maximum we have now and I'l

Re: [PATCH 2/3] Adjust Netpoll timeout logic

2005-11-27 Thread Michael Frank
On Sunday 27 November 2005 19:45, Patrick McHardy wrote: > Michael Frank wrote: > > On Sunday 27 November 2005 02:23, you wrote: > >>Michael Frank wrote: > >>>To clarify the practical delay of this implementation > >>>N_CARRIER_POLL * 0.1s + a few 100 to few 1000 us > >>>, 0.3s - 10 times as fast

Re: [PATCH 2/3] Adjust Netpoll timeout logic

2005-11-27 Thread Patrick McHardy
Michael Frank wrote: On Sunday 27 November 2005 02:23, you wrote: Michael Frank wrote: To clarify the practical delay of this implementation N_CARRIER_POLL * 0.1s + a few 100 to few 1000 us , 0.3s - 10 times as fast as current implementation ;) I understand that, but my sis900 for example

Re: [PATCH 2/3] Adjust Netpoll timeout logic

2005-11-27 Thread Michael Frank
On Sunday 27 November 2005 01:17, Patrick McHardy wrote: > Michael Frank wrote: > > Current Netpoll init does not trust carrier detected > > right upon bringing the NIC up and waits for a delay > > before allowing boot to continue. > > > > The delay varied with the kernel version: > > 10 seconds

Re: [PATCH 2/3] Adjust Netpoll timeout logic

2005-11-27 Thread Michael Frank
On Sunday 27 November 2005 02:23, you wrote: > Michael Frank wrote: > >>>The adjusted timeout mechanism polls the carrier every > >>>100ms and polls for a good carrier for N_CARRIER_POLL > >>>(3) _consecutive_ cycles or 10s maximum. > >> > >>Why do you increase the maximum again? > > > > In the _cu

Re: [PATCH 2/3] Adjust Netpoll timeout logic

2005-11-26 Thread Patrick McHardy
Michael Frank wrote: Current Netpoll init does not trust carrier detected right upon bringing the NIC up and waits for a delay before allowing boot to continue. The delay varied with the kernel version: 10 seconds in 2.6.11 3 seconds in 2.6.12 4 seconds in 2.6.13 and later Any signifi

[PATCH 2/3] Adjust Netpoll timeout logic

2005-11-26 Thread Michael Frank
Current Netpoll init does not trust carrier detected right upon bringing  the NIC up and waits for a delay before allowing boot to continue. The delay varied with the kernel version:  10 seconds in 2.6.11    3 seconds in 2.6.12    4 seconds in 2.6.13 and later Any significant delay is undesired