From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerry Van Baren Date: Sat, 25 Jul 2009 22:02:48 -0400 Subject: [U-Boot] [PATCH/RFC] net: defragment IP packets In-Reply-To: <200907251809.07327.rgetz@blackfin.uclinux.org> References: <20090724080449.GA19910@mail.gnudd.com> <200907251809.07327.rgetz@blackfin.uclinux.org> Message-ID: <4A6BB948.1000900@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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. Best regards, gvb