forked from M-Labs/artiq
1
0
Fork 0

runtime: increase lwip TCP_SND_QUEUELEN (closes #82)

This commit is contained in:
Sebastien Bourdeauducq 2015-07-31 18:16:02 +08:00
parent d02d40871e
commit 8d1663394b
1 changed files with 2 additions and 3 deletions

View File

@ -117,9 +117,8 @@ a lot of data that needs to be copied, this should be set high. */
/* TCP sender buffer space (bytes). */ /* TCP sender buffer space (bytes). */
#define TCP_SND_BUF 32 * 1024 #define TCP_SND_BUF 32 * 1024
/* TCP sender buffer space (pbufs). This must be at least = 2 * /* TCP sender buffer space (pbufs). */
TCP_SND_BUF/TCP_MSS for things to work. */ #define TCP_SND_QUEUELEN 3 * TCP_SND_BUF/TCP_MSS
#define TCP_SND_QUEUELEN 2 * TCP_SND_BUF/TCP_MSS
/* TCP receive window. */ /* TCP receive window. */
#define TCP_WND 16 * 1024 #define TCP_WND 16 * 1024