reduce the TCP segment size to increase the performance on the SCC
This commit is contained in:
parent
bf28c95b75
commit
0bec94d2a5
1 changed files with 5 additions and 1 deletions
|
@ -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).
|
||||
|
|
Loading…
Add table
Reference in a new issue