IB can't afford many RX buffers, because the MTU is so large. Reduce
authorMichael Brown <mcb30@etherboot.org>
Tue, 18 Sep 2007 06:02:41 +0000 (07:02 +0100)
committerMichael Brown <mcb30@etherboot.org>
Tue, 18 Sep 2007 06:02:41 +0000 (07:02 +0100)
the TCP window to compensate.

src/include/gpxe/tcp.h

index d967791..e275312 100644 (file)
@@ -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