[syslinux:lwip] core: lwipopts: additional fine-tuning

syslinux-bot for H. Peter Anvin hpa at zytor.com
Fri Apr 22 20:05:49 PDT 2011


Commit-ID:  5272cd63783fa992c5cb46a901adf4b28f1ad3e6
Gitweb:     http://syslinux.zytor.com/commit/5272cd63783fa992c5cb46a901adf4b28f1ad3e6
Author:     H. Peter Anvin <hpa at zytor.com>
AuthorDate: Fri, 18 Sep 2009 13:38:11 -0700
Committer:  Eric W. Biederman <ebiederm at xmission.com>
CommitDate: Tue, 12 Apr 2011 14:40:53 -0700

core: lwipopts: additional fine-tuning

Fine tune parameters a bit more...

Signed-off-by: H. Peter Anvin <hpa at zytor.com>


---
 core/lwip/src/include/lwipopts.h |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/core/lwip/src/include/lwipopts.h b/core/lwip/src/include/lwipopts.h
index 9596c04..dea91c4 100644
--- a/core/lwip/src/include/lwipopts.h
+++ b/core/lwip/src/include/lwipopts.h
@@ -46,7 +46,13 @@
 #define DNS_TABLE_SIZE		16
 #define DNS_MAX_SERVERS		4
 #define TCP_MSS			1460
-#define TCP_WND			0xf800
-#define TCP_SND_BUF		4096
+#define TCP_WND			64000
+#define TCP_SND_BUF		(4*TCP_MSS)
+#define LWIP_TCP_TIMESTAMPS	1
+
+#define ETHARP_TRUST_IP_MAC	0
+ 
+#define LWIP_STATS		1
+#define LWIP_STATS_DISPLAY	1
 
 #endif /* __LWIPOPTS_H__ */



More information about the Syslinux-commits mailing list