From 30717896f5b0c8d42860c928440ccb3eb0a559cc Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Tue, 18 Sep 2007 07:02:41 +0100 Subject: [PATCH] IB can't afford many RX buffers, because the MTU is so large. Reduce the TCP window to compensate. --- src/include/gpxe/tcp.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/include/gpxe/tcp.h b/src/include/gpxe/tcp.h index d967791f..e2753120 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