[U-Boot] http client?

Robin Getz rgetz at blackfin.uclinux.org
Thu Jul 23 00:42:03 CEST 2009


On Wed 22 Jul 2009 18:00, Alessandro Rubini pondered:
> > When I looked at the RFC data
> > it appears that the overhead of IP fragmentation and reassembly (which
> > does add overhead as the number of gateways increases) may be worth
> > the time... 
> 
> Just tried it: U-Boot doesn't support reassembly, it seems.

I don't think anyone said it did.

> net.c confirms it:
> 
>                 /* Can't deal with fragments */
>                 if (ip->ip_off & htons(IP_OFFS | IP_FLAGS_MFRAG)) {
>                         return;
>                 }
> 
> I don't think it's worth adding.

This is based on ... ?

If it reduces download time by 1/2 (1432 byte block size == 13.70 seconds, 
4096 byte block size == 6.85 seconds) it might be worth the complexity...

At least worth it enough to give it a try, gather some results, and then make 
a decision.

-Robin


More information about the U-Boot mailing list