http://git.etherboot.org
/
people
/
pcmattman
/
gpxe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f23881
)
IB can't afford many RX buffers, because the MTU is so large. Reduce
author
Michael Brown
<mcb30@etherboot.org>
Tue, 18 Sep 2007 06:02:41 +0000
(07:02 +0100)
committer
Michael 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
patch
|
blob
|
history
diff --git
a/src/include/gpxe/tcp.h
b/src/include/gpxe/tcp.h
index
d967791
..
e275312
100644
(file)
--- 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