]> git.dujemihanovic.xyz Git - u-boot.git/commit
tftp: adjust settings to be suitable for 100Mbit ethernet
authorPavel Machek <pavel@denx.de>
Tue, 18 Aug 2015 12:34:26 +0000 (14:34 +0200)
committerJoe Hershberger <joe.hershberger@ni.com>
Fri, 21 Aug 2015 21:31:00 +0000 (16:31 -0500)
commit620776d734e4b126c407f636bda825a594a17723
treed40d26d13edd7662891ff66808cc08344d52d6d3
parent8d77576371381ade83de475bb639949b44941e8c
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>
net/tftp.c