]> git.kernelconcepts.de Git - karo-tx-uboot.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)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 08:30:33 +0000 (10:30 +0200)
commitf19af081efb2f4f541f09ba39fe35b9f4d608acb
tree5075bd3a5eaae2b59111f70c1d37f4c592f5b4bd
parent28a05a91b1eeb1999aa8c4219e048b9bd13e0db3
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