[U-Boot] [PATCH] Add simple IP/UDP fragmentation support

Ben Warren biggerbadderben at gmail.com
Fri Oct 17 07:58:33 CEST 2008


Hi Josh,

Josh Boyer wrote:
> From: Frank Haverkamp <haver at vnet.ibm.com>
>
> 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 <haver at vnet.ibm.com>
> Signed-off-by: Josh Boyer <jwboyer at linux.vnet.ibm.com>
>   
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


More information about the U-Boot mailing list