From 5d79c6be1a034512bf95bff9d5f6869f9ece3962 Mon Sep 17 00:00:00 2001 From: Alexander Boettcher Date: Tue, 25 Jun 2013 16:00:49 +0200 Subject: [PATCH] lwip: increase send performance for arndale USB2.0 Getting up to 91 Mbit out of a 100 Mbit card. --- libports/include/lwip/lwipopts.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libports/include/lwip/lwipopts.h b/libports/include/lwip/lwipopts.h index afa32d772..203bdefa2 100644 --- a/libports/include/lwip/lwipopts.h +++ b/libports/include/lwip/lwipopts.h @@ -59,7 +59,7 @@ #define TCP_MSS 1460 #define TCP_WND (96 * TCP_MSS) -#define TCP_SND_BUF (64 * TCP_MSS) +#define TCP_SND_BUF (32 * TCP_MSS) #define TCP_SND_QUEUELEN ((32 * (TCP_SND_BUF) + (TCP_MSS - 1))/(TCP_MSS)) #define RECV_BUFSIZE_DEFAULT 2147483647 /* this is actually INT_MAX, default value */