mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* TFTP RFC7440 windowsize support
@ 2022-09-13  9:25 Sascha Hauer
  0 siblings, 0 replies; only message in thread
From: Sascha Hauer @ 2022-09-13  9:25 UTC (permalink / raw)
  To: Barebox List; +Cc: Enrico Scholz

Hi All,

As you might have noticed Enrico added RFC7440 support to our TFTP
support. This greatly improves the speed for TFTP transfers when the
server also has RFC7440 support.

RFC7440 support has just appeared in the latest atftpd release
(version 0.8.0), so you can give this a try without locally patched
TFTP demons. This release is also available in debian backports.

Unfortunately there's no light without shadow. On i.MX6 the FEC ethernet
controller is too slow to catch up with a gigabit link. Up to now this
hasn't been a problem on barebox, as we only ever had a single packet
in flight. Now with windowsize support the controller can get
overwhelmed with so many TFTP packets that RX overruns occur. I changed
the imx_v7_defconfig to limit the windowsize to a smaller value that
seems to work here. Similar problems might exist on other ethernet
controllers, so we might have to generally switch to more conservative
default window sizes.


Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       |  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-09-13  9:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-13  9:25 TFTP RFC7440 windowsize support Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox