public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/4] Network defrag
@ 2009-08-07 11:58 Alessandro Rubini
  2009-08-07 11:58 ` [U-Boot] [PATCH 1/4] net: defragment IP packets Alessandro Rubini
                   ` (4 more replies)
  0 siblings, 5 replies; 25+ messages in thread
From: Alessandro Rubini @ 2009-08-07 11:58 UTC (permalink / raw)
  To: u-boot

I finally fixed the defrag code, testing with NFS as well.
Didn't take performance figures, tough, for lack of time.

I wanted to do "config + environment" for the NFS case, like tftp, but
didnt' do the second step out of laziness (also, the source file has
long lines while I have 80 columns).

For the record, I added the check on ip_src and ip_dst, but everything
stopped working. So I reverted that instead of entering a long
debugging session.

The CONFIG_NET_MAXDEFRAG argument is the actual payload, so I add NFS
overhead to that figure, which is expected to a beautiful 4096 or
8192.  I feel this is better than other options, as the person writing
the config is not expected to know how much protocol overhead is
there.

Alessandro Rubini (4):
  net: defragment IP packets
  tftp: get the tftp block size from config file and from the
    environment
  nfs: accept CONFIG_NFS_READ_SIZE from config file
  arm nomadik: activate defrag choose 4k transfer block size

 include/configs/nhk8815.h |    4 +
 net/net.c                 |  188 +++++++++++++++++++++++++++++++++++++++++++-
 net/nfs.h                 |   10 ++-
 net/tftp.c                |   13 +++-
 4 files changed, 206 insertions(+), 9 deletions(-)

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2009-08-17 20:35 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-07 11:58 [U-Boot] [PATCH 0/4] Network defrag Alessandro Rubini
2009-08-07 11:58 ` [U-Boot] [PATCH 1/4] net: defragment IP packets Alessandro Rubini
2009-08-07 11:59 ` [U-Boot] [PATCH 2/4] tftp: get the tftp block size from config file and from the environment Alessandro Rubini
2009-08-07 11:59 ` [U-Boot] [PATCH 3/4] nfs: accept CONFIG_NFS_READ_SIZE from config file Alessandro Rubini
2009-08-07 11:59 ` [U-Boot] [PATCH 4/4] arm nomadik: activate defrag choose 4k transfer block size Alessandro Rubini
2009-08-08  9:50 ` [U-Boot] [PATCH 0/4] Network defrag Ben Warren
2009-08-10 19:51   ` Robin Getz
2009-08-10 19:57     ` Ben Warren
2009-08-12 15:48       ` Robin Getz
2009-08-12 20:04         ` Wolfgang Denk
2009-08-13 15:44           ` Robin Getz
2009-08-12 20:05         ` Ben Warren
2009-08-12 20:53           ` Robin Getz
2009-08-12 20:53             ` Ben Warren
2009-08-12 21:30               ` Wolfgang Denk
2009-08-13 21:47                 ` Robin Getz
2009-08-13 22:01                   ` Wolfgang Denk
2009-08-17 17:15                     ` Robin Getz
2009-08-17 19:05                       ` Wolfgang Denk
2009-08-17 19:55                         ` Robin Getz
2009-08-17 20:20                           ` Wolfgang Denk
2009-08-17 20:35                             ` Robin Getz
2009-08-10 19:59     ` Wolfgang Denk
2009-08-17 17:21   ` Robin Getz
2009-08-17 19:06     ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox