From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Warren Date: Thu, 16 Oct 2008 22:58:33 -0700 Subject: [U-Boot] [PATCH] Add simple IP/UDP fragmentation support In-Reply-To: <1218473412.10489.5.camel@localhost.localdomain> References: <1218473412.10489.5.camel@localhost.localdomain> Message-ID: <48F82989.308@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 Hi Josh, Josh Boyer wrote: > From: Frank Haverkamp > > http://tools.ietf.org/html/rfc2348 describes the TFTP block size option > which allows larger packtes than the 512 byte default. This reduces the > number of TFTP ACKs significantly and improves performance. > > To get the most benefit out of the tftp block size option the support > of defragementation of IP/UDP packet is helpful. The current implemenation > should work even with packets received out of order. To enable the large > packet size the user should set "tftp_block_size" so a value like 16352. > > We experimented with different packet sizes and found that more than those > 16KiB do not contribute much to the performance anymore. Therefor I limited > the defragmentation buffer to 16KiB no too waste memory. > > Signed-off-by: Frank Haverkamp > Signed-off-by: Josh Boyer > I know you guys posted this one a couple of months ago and I apologize for not being more active. I've put this in the net/testing repo with the hope that people will smack it around a bit. regards, Ben