[U-Boot] [PATCH/RFC] net: defragment IP packets

Jerry Van Baren gvb.uboot at gmail.com
Sun Jul 26 04:02:48 CEST 2009


Robin Getz wrote:
> On Fri 24 Jul 2009 04:04, Alessandro Rubini pondered:
>> This patch add a quick and dirty defrag step in IP reception. This
>> allows to increase the TFTP block size and get more performance in
>> slow links (but at that point it should be made configurable).
>>
>> The overhead is negligible, verified with an ARM9 CPU and 10MB data
>> file, changing the server MTU from 1500 to 800 and then 550.  However,
>> on a LAN connection, I didn't see advantes with using a 4k block
>> size with default MTU.

[snip]

> I needed to modify your patch a little bit to get it working on my platform.
> 
> If Ben/Wolfgang are interested in taking this - I'll fix up my mods, and send 
> it back.
> 
> -Robin

FWIIW, RFC815 describes a reassembly algorithm that handles out-of-order 
reassembly directly in the receive buffer by keeping the "holes" 
bookkeeping data in the holes themselves.
   <http://www.faqs.org/rfcs/rfc815.html>

Best regards,
gvb


More information about the U-Boot mailing list