From 8d1663394be0e602ac7ebb6fcd62e69d4982cf5f Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Fri, 31 Jul 2015 18:16:02 +0800 Subject: [PATCH] runtime: increase lwip TCP_SND_QUEUELEN (closes #82) --- soc/runtime/liblwip/lwipopts.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/soc/runtime/liblwip/lwipopts.h b/soc/runtime/liblwip/lwipopts.h index eff5a4aae..bca6722a3 100644 --- a/soc/runtime/liblwip/lwipopts.h +++ b/soc/runtime/liblwip/lwipopts.h @@ -117,9 +117,8 @@ a lot of data that needs to be copied, this should be set high. */ /* TCP sender buffer space (bytes). */ #define TCP_SND_BUF 32 * 1024 -/* TCP sender buffer space (pbufs). This must be at least = 2 * - TCP_SND_BUF/TCP_MSS for things to work. */ -#define TCP_SND_QUEUELEN 2 * TCP_SND_BUF/TCP_MSS +/* TCP sender buffer space (pbufs). */ +#define TCP_SND_QUEUELEN 3 * TCP_SND_BUF/TCP_MSS /* TCP receive window. */ #define TCP_WND 16 * 1024