summaryrefslogtreecommitdiffstats
path: root/net/tftp.h
diff options
context:
space:
mode:
authorPavel Machek <pavel@denx.de>2015-08-18 14:34:26 +0200
committerJoe Hershberger <joe.hershberger@ni.com>2015-08-21 16:31:00 -0500
commit620776d734e4b126c407f636bda825a594a17723 (patch)
treed40d26d13edd7662891ff66808cc08344d52d6d3 /net/tftp.h
parent8d77576371381ade83de475bb639949b44941e8c (diff)
downloadblackbird-obmc-uboot-620776d734e4b126c407f636bda825a594a17723.tar.gz
blackbird-obmc-uboot-620776d734e4b126c407f636bda825a594a17723.zip
tftp: adjust settings to be suitable for 100Mbit ethernet
Adjust timouts and retry counts to be suitable for loaded ethernet network. With 5 seconds timeout, 10 retries maximum, tftp is impossible even on local network with single full-speed TCP connection. 100msec timeout should be suitable for most networks tftp is used on, that is local ethernets. Timeout count really needs to be way higher, as lost packets are normal when TCP is running over the same network. Enforce 10msec minimum. Signed-off-by: Pavel Machek <pavel@denx.de> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'net/tftp.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud