Re: [U-Boot] [PATCH] net: BOOTP retry timeout improvements

2014-08-18 Thread Tom Rini
On Mon, Aug 18, 2014 at 10:04:58AM -0600, Stephen Warren wrote: > On 08/15/2014 03:39 PM, Thierry Reding wrote: > >On Fri, Aug 15, 2014 at 10:02:40AM -0600, Stephen Warren wrote: > ... > >>Re-transmitting a DHCP request shouldn't prevent a response to the previous > >>request from being processed -

Re: [U-Boot] [PATCH] net: BOOTP retry timeout improvements

2014-08-18 Thread Stephen Warren
On 08/15/2014 03:39 PM, Thierry Reding wrote: On Fri, Aug 15, 2014 at 10:02:40AM -0600, Stephen Warren wrote: ... Re-transmitting a DHCP request shouldn't prevent a response to the previous request from being processed - AFAIK each request is idempotent. Can you debug what is causing the 8s del

Re: [U-Boot] [PATCH] net: BOOTP retry timeout improvements

2014-08-15 Thread Thierry Reding
On Fri, Aug 15, 2014 at 11:39:08PM +0200, Thierry Reding wrote: > On Fri, Aug 15, 2014 at 10:02:40AM -0600, Stephen Warren wrote: [...] > > (and as an aside, how on earth is your DHCP server taking >500ms to respond, > > yet still actually responding?) > > It's a black box mostly but it seems to b

Re: [U-Boot] [PATCH] net: BOOTP retry timeout improvements

2014-08-15 Thread Thierry Reding
On Fri, Aug 15, 2014 at 10:02:40AM -0600, Stephen Warren wrote: > On 08/15/2014 06:49 AM, Thierry Reding wrote: > >On Fri, Aug 15, 2014 at 02:39:45PM +0200, Thierry Reding wrote: > >>On Fri, Jul 25, 2014 at 05:30:48PM -0600, Stephen Warren wrote: > >>>From: Stephen Warren > >>> > >>>Currently, the

Re: [U-Boot] [PATCH] net: BOOTP retry timeout improvements

2014-08-15 Thread Stephen Warren
On 08/15/2014 06:49 AM, Thierry Reding wrote: On Fri, Aug 15, 2014 at 02:39:45PM +0200, Thierry Reding wrote: On Fri, Jul 25, 2014 at 05:30:48PM -0600, Stephen Warren wrote: From: Stephen Warren Currently, the BOOTP code sends out its initial request as soon as the Ethernet driver indicates "

Re: [U-Boot] [PATCH] net: BOOTP retry timeout improvements

2014-08-15 Thread Thierry Reding
On Fri, Jul 25, 2014 at 05:30:48PM -0600, Stephen Warren wrote: > From: Stephen Warren > > Currently, the BOOTP code sends out its initial request as soon as the > Ethernet driver indicates "link up". If this packet is lost or not > replied to for some reason, the code waits for a 1s timeout befo

Re: [U-Boot] [PATCH] net: BOOTP retry timeout improvements

2014-08-15 Thread Thierry Reding
On Fri, Aug 15, 2014 at 02:39:45PM +0200, Thierry Reding wrote: > On Fri, Jul 25, 2014 at 05:30:48PM -0600, Stephen Warren wrote: > > From: Stephen Warren > > > > Currently, the BOOTP code sends out its initial request as soon as the > > Ethernet driver indicates "link up". If this packet is lost

Re: [U-Boot] [PATCH] net: BOOTP retry timeout improvements

2014-08-06 Thread Joe Hershberger
On Fri, Jul 25, 2014 at 6:30 PM, Stephen Warren wrote: > > From: Stephen Warren > > Currently, the BOOTP code sends out its initial request as soon as the > Ethernet driver indicates "link up". If this packet is lost or not > replied to for some reason, the code waits for a 1s timeout before > re

Re: [U-Boot] [PATCH] net: BOOTP retry timeout improvements

2014-08-06 Thread Tom Rini
On Wed, Aug 06, 2014 at 09:58:12AM -0600, Stephen Warren wrote: > On 07/25/2014 05:30 PM, Stephen Warren wrote: > >From: Stephen Warren > > > >Currently, the BOOTP code sends out its initial request as soon as the > >Ethernet driver indicates "link up". If this packet is lost or not > >replied to

Re: [U-Boot] [PATCH] net: BOOTP retry timeout improvements

2014-08-06 Thread Stephen Warren
On 07/25/2014 05:30 PM, Stephen Warren wrote: From: Stephen Warren Currently, the BOOTP code sends out its initial request as soon as the Ethernet driver indicates "link up". If this packet is lost or not replied to for some reason, the code waits for a 1s timeout before retrying. For some reas