From: Jerry Van Baren <gerald.vanbaren@ge.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Does u-boot handle packet fragmentation during TFTP?
Date: Wed, 11 Jun 2008 13:33:41 -0400 [thread overview]
Message-ID: <48500C75.8050702@ge.com> (raw)
In-Reply-To: <20080611170255.42B03418051@mail179-wa4.bigfish.com>
John Linn wrote:
> I searched the archives and the docs and didn?t see anything specific to
> fragmentation. I?m developing an LL TEMAC driver for u-boot on Xilinx
> boards and am seeing an issue.
>
> If the TFTP server providing the kernel image is not fragmenting
> packets, I can transfer a kernel image fine. But if the TFTP server
> fragments packets I see problems. I?m sure it?s a problem with my new
> driver, but wanted to make sure there?s not any known issues with u-boot
> in this area.
>
> Thanks,
> John
The code says "no."
<http://git.denx.de/?p=u-boot.git;a=blob;f=net/net.c;h=78128772fe5cda166ea74aa8ac95832d8d155b55;hb=HEAD#l1407>
if (ip->ip_off & htons(0x1fff)) { /* Can't deal w/ fragments */
return;
That's too bad, bigger packets can help substantially with throughput on
TFTP (throughput is hammered by latency with TFTP). Something to think
about... doing simple reassembly (only handle in-sequence reassembly) is
fairly simple.
Best regards,
gvb
prev parent reply other threads:[~2008-06-11 17:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-11 17:02 [U-Boot-Users] Does u-boot handle packet fragmentation during TFTP? John Linn
2008-06-11 17:33 ` Jerry Van Baren [this message]
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=48500C75.8050702@ge.com \
--to=gerald.vanbaren@ge.com \
--cc=u-boot@lists.denx.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