Re: [U-Boot] [PATCH] net: Improve the speed of netconsole

2012-08-01 Thread Joe Hershberger
Hi Mike, On Wed, Aug 1, 2012 at 11:35 AM, Mike Frysinger wrote: > On Monday 30 July 2012 17:08:41 Joe Hershberger wrote: >> On Wed, Jul 25, 2012 at 1:49 PM, Mike Frysinger wrote: >> > On Tuesday 24 July 2012 16:11:15 Joe Hershberger wrote: >> >> --- a/net/eth.c >> >> +++ b/net/eth.c >> >> >> >> +

Re: [U-Boot] [PATCH] net: Improve the speed of netconsole

2012-08-01 Thread Mike Frysinger
On Monday 30 July 2012 17:08:41 Joe Hershberger wrote: > On Wed, Jul 25, 2012 at 1:49 PM, Mike Frysinger wrote: > > On Tuesday 24 July 2012 16:11:15 Joe Hershberger wrote: > >> --- a/net/eth.c > >> +++ b/net/eth.c > >> > >> +#ifdef CONFIG_NETCONSOLE_PERSIST_ETH > >> +int eth_init_state_only(bd_t *

Re: [U-Boot] [PATCH] net: Improve the speed of netconsole

2012-07-30 Thread Joe Hershberger
Hi Mike, On Wed, Jul 25, 2012 at 1:49 PM, Mike Frysinger wrote: > On Tuesday 24 July 2012 16:11:15 Joe Hershberger wrote: >> --- a/drivers/net/netconsole.c >> +++ b/drivers/net/netconsole.c >> @@ -131,8 +131,17 @@ static void nc_send_packet(const char *buf, int len) >> } >> >> if (eth

Re: [U-Boot] [PATCH] net: Improve the speed of netconsole

2012-07-25 Thread Mike Frysinger
On Tuesday 24 July 2012 16:11:15 Joe Hershberger wrote: > --- a/drivers/net/netconsole.c > +++ b/drivers/net/netconsole.c > @@ -131,8 +131,17 @@ static void nc_send_packet(const char *buf, int len) > } > > if (eth->state != ETH_STATE_ACTIVE) { > - if (eth_init(gd->bd) < 0)

Re: [U-Boot] [PATCH] net: Improve the speed of netconsole

2012-07-25 Thread Stefano Babic
On 24/07/2012 22:11, Joe Hershberger wrote: > Previously u-boot would initialize the network interface for every > network operation and then shut it down again. This makes sense for > most operations where the network in not known to be needed soon after > the operation is complete. In the case

[U-Boot] [PATCH] net: Improve the speed of netconsole

2012-07-24 Thread Joe Hershberger
Previously u-boot would initialize the network interface for every network operation and then shut it down again. This makes sense for most operations where the network in not known to be needed soon after the operation is complete. In the case of netconsole, it will use the network for every int