Pārlūkot izejas kodu

IB can't afford many RX buffers, because the MTU is so large. Reduce

the TCP window to compensate.
tags/v0.9.3
Michael Brown 18 gadus atpakaļ
vecāks
revīzija
30717896f5
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 2
    1
      src/include/gpxe/tcp.h

+ 2
- 1
src/include/gpxe/tcp.h Parādīt failu

275
  * actually use 65536, we use a window size of (65536-4) to ensure
275
  * actually use 65536, we use a window size of (65536-4) to ensure
276
  * that payloads remain dword-aligned.
276
  * that payloads remain dword-aligned.
277
  */
277
  */
278
-#define TCP_MAX_WINDOW_SIZE	( 65536 - 4 )
278
+//#define TCP_MAX_WINDOW_SIZE	( 65536 - 4 )
279
+#define TCP_MAX_WINDOW_SIZE	4096
279
 
280
 
280
 /**
281
 /**
281
  * Path MTU
282
  * Path MTU

Notiek ielāde…
Atcelt
Saglabāt