Skip to content
Commit 620776d7 authored by Pavel Machek's avatar Pavel Machek Committed by Joe Hershberger
Browse files

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: default avatarPavel Machek <pavel@denx.de>
Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
parent 8d775763
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment