u-boot-brain/net
Joe Hershberger f8be7d659c net: Improve the speed of netconsole
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 interaction with the shell or every printf.  This
means that the network is being reinitialized very often.  On many
devices, this intialization is very slow.

This patch checks for consecutive netconsole actions and leaves the
ethernet hardware initialized between them.  It will still behave the
same old way for all other network operations and any time another
network operation happens between netconsole operations.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Cc: Stefano Babic <sbabic@denx.de>
Acked-by: Stefano Babic <sbabic@denx.de>
2012-09-24 13:55:43 -05:00
..
arp.c net: fix typo in arp clean up 2012-07-10 10:14:56 -05:00
arp.h net: Separate ArpRequest() into lower-level func 2012-05-23 17:53:07 -05:00
bootp.c net: bootp: fix build 2012-07-19 13:11:31 -05:00
bootp.h net: cosmetic: Rename OPT_SIZE to OPT_FIELD_SIZE 2012-05-23 17:46:17 -05:00
cdp.c net: Refactor to separate the UDP handler from the ARP handler 2012-05-23 17:52:53 -05:00
cdp.h net: cosmetic: Rename CDPHandler to cdp_receive 2012-05-23 17:46:16 -05:00
dns.c net: Refactor to separate the UDP handler from the ARP handler 2012-05-23 17:52:53 -05:00
dns.h Add DNS support 2009-07-22 22:53:44 -07:00
eth.c net: Improve the speed of netconsole 2012-09-24 13:55:43 -05:00
link_local.c net: link_local: fix build 2012-07-19 13:11:31 -05:00
link_local.h net: Add link-local addressing support 2012-05-23 17:53:08 -05:00
Makefile net: use common rand()/srand() functions 2012-07-07 14:07:32 +02:00
net_rand.h net: use common rand()/srand() functions 2012-07-07 14:07:32 +02:00
net.c net: Improve the speed of netconsole 2012-09-24 13:55:43 -05:00
nfs.c net: nfs: make NFS_TIMEOUT configurable 2012-07-12 14:13:24 -05:00
nfs.h net: cosmetic: nfs.* checkpatch compliance 2012-05-15 17:16:27 -05:00
ping.c net: Allow filtering on debug traces in the net subsystem 2012-05-23 17:53:08 -05:00
ping.h net: cosmetic: Un-typedef Ethernet_t 2012-05-23 17:46:14 -05:00
rarp.c net: Allow filtering on debug traces in the net subsystem 2012-05-23 17:53:08 -05:00
rarp.h net: cosmetic: Un-typedef IP_t 2012-05-23 17:46:00 -05:00
sntp.c net: Refactor to separate the UDP handler from the ARP handler 2012-05-23 17:52:53 -05:00
sntp.h net: cosmetic: sntp.* checkpatch compliance 2012-05-15 17:16:45 -05:00
tftp.c net: tftp: fix type of block arg to store_block 2012-07-11 13:14:16 -05:00
tftp.h net: cosmetic: tftp.* checkpatch compliance 2012-05-15 17:16:52 -05:00