[U-Boot] [PATCH 1/3] net: defragment IP packets
Robin Getz
rgetz at blackfin.uclinux.org
Fri Jul 31 17:33:02 CEST 2009
On Fri 31 Jul 2009 03:46, Alessandro Rubini pondered:
> > For some reason - why I'm ping flooding when tftping a large file (with
> > large tftp block size) - things hang. If I set the block size to under
> > the MTU - it works fine. Do you get the same?
>
> Didn't try, and I can't do that today. I suspect either your ping is
> over-mtu, so each new fragment triggers the above code, or simply your
> ether+uboot can't keep up with the data rate.
I tried on a different network (tftp a 18M file) - and it worked without
issues while ping flooding...
Until I filled up the max number of packets on the target (and it did start
loosing things).
"sudo ping -l 3 -f targetip" worked fine while transferring the file...
"sudo ping -l 4 -f targetip" made things fall over - but this is a function of
the ethernet driver, not anything else. (We pre-allocate 4 packets worth of
info, and and only allow 4 packets to stack up). Even when there is no
fragmentation - this causes it to fail....
So, I'll have to see what is going on with my network at home - so it could
just be the network couldn't keep up...
More information about the U-Boot
mailing list