summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2007-09-18 08:02:41 +0200
committerMichael Brown2007-09-18 08:02:41 +0200
commit30717896f5b0c8d42860c928440ccb3eb0a559cc (patch)
treecc092c0fb24822af42e3bddb7240b2f1fde37b58 /src/include
parentAdded arbel.c (diff)
downloadipxe-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')
-rw-r--r--src/include/gpxe/tcp.h3
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