diff options
| author | Michael Brown | 2007-09-18 08:02:41 +0200 |
|---|---|---|
| committer | Michael Brown | 2007-09-18 08:02:41 +0200 |
| commit | 30717896f5b0c8d42860c928440ccb3eb0a559cc (patch) | |
| tree | cc092c0fb24822af42e3bddb7240b2f1fde37b58 /src/include/gpxe/tcp.h | |
| parent | Added arbel.c (diff) | |
| download | ipxe-30717896f5b0c8d42860c928440ccb3eb0a559cc.tar.gz ipxe-30717896f5b0c8d42860c928440ccb3eb0a559cc.tar.xz ipxe-30717896f5b0c8d42860c928440ccb3eb0a559cc.zip | |
IB can't afford many RX buffers, because the MTU is so large. Reduce
the TCP window to compensate.
Diffstat (limited to 'src/include/gpxe/tcp.h')
| -rw-r--r-- | src/include/gpxe/tcp.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/gpxe/tcp.h b/src/include/gpxe/tcp.h index d967791f1..e2753120c 100644 --- a/src/include/gpxe/tcp.h +++ b/src/include/gpxe/tcp.h @@ -275,7 +275,8 @@ struct tcp_options { * actually use 65536, we use a window size of (65536-4) to ensure * that payloads remain dword-aligned. */ -#define TCP_MAX_WINDOW_SIZE ( 65536 - 4 ) +//#define TCP_MAX_WINDOW_SIZE ( 65536 - 4 ) +#define TCP_MAX_WINDOW_SIZE 4096 /** * Path MTU |
