reduce the TCP segment size to increase the performance on the SCC

This commit is contained in:
Stefan Lankes 2011-09-15 03:15:15 -07:00
parent bf28c95b75
commit 0bec94d2a5

View file

@ -37,7 +37,11 @@
/**
* LWIP_DHCP==1: Enable DHCP module.
*/
#ifdef CONFIG_ROCKCREEK
#define LWIP_DHCP 0
#else
#define LWIP_DHCP 1
#endif
/**
* DHCP_DOES_ARP_CHECK==1: Do an ARP check on the offered address.
@ -68,7 +72,7 @@
* when opening a connection. For the transmit size, this MSS sets
* an upper limit on the MSS advertised by the remote host.
*/
#define TCP_MSS 1460
#define TCP_MSS 1440
/**
* TCP_SND_BUF: TCP sender buffer space (bytes).