david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

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

the TCP window to compensate.
This commit is contained in:
Michael Brown 2007-09-18 07:02:41 +01:00
parent 2f23881856
commit 30717896f5
1 changed files with 2 additions and 1 deletions

View 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