mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <sha@pengutronix.de>
To: Barebox List <barebox@lists.infradead.org>
Cc: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Subject: TFTP RFC7440 windowsize support
Date: Tue, 13 Sep 2022 11:25:16 +0200	[thread overview]
Message-ID: <20220913092516.GF12909@pengutronix.de> (raw)

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.

Sascha

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



                 reply	other threads:[~2022-09-13  9:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220913092516.GF12909@pengutronix.de \
    --to=sha@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=enrico.scholz@sigma-chemnitz.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox