소스 검색

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 17 년 전
부모
커밋
30717896f5
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2
    1
      src/include/gpxe/tcp.h

+ 2
- 1
src/include/gpxe/tcp.h 파일 보기

@@ -275,7 +275,8 @@ struct tcp_options {
275 275
  * actually use 65536, we use a window size of (65536-4) to ensure
276 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 282
  * Path MTU

Loading…
취소
저장