From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Warren Date: Mon, 11 Aug 2008 10:40:28 -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: <48A0798C.20602@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 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 > > --- Thanks. This looks like a good feature. I'll try to digest it tonight. regards, Ben