From dc8b504c1405fa4ef60e0265487688fa11f073a4 Mon Sep 17 00:00:00 2001 From: richardbarry Date: Tue, 20 Sep 2011 13:34:49 +0000 Subject: [PATCH] Update Microblaze Ethernet Lite lwipopts.h for better efficiency. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1604 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- .../SDKProjects/RTOSDemo/lwIP/lwIP_Apps/lwipopts.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Demo/MicroBlaze_Spartan-6_EthernetLite/SDKProjects/RTOSDemo/lwIP/lwIP_Apps/lwipopts.h b/Demo/MicroBlaze_Spartan-6_EthernetLite/SDKProjects/RTOSDemo/lwIP/lwIP_Apps/lwipopts.h index 9d396cf63..2ec734ae7 100644 --- a/Demo/MicroBlaze_Spartan-6_EthernetLite/SDKProjects/RTOSDemo/lwIP/lwIP_Apps/lwipopts.h +++ b/Demo/MicroBlaze_Spartan-6_EthernetLite/SDKProjects/RTOSDemo/lwIP/lwIP_Apps/lwipopts.h @@ -204,7 +204,7 @@ a lot of data that needs to be copied, this should be set high. */ #define TCP_MSS 1460 /* TCP sender buffer space (bytes). */ -#define TCP_SND_BUF 2048 +#define TCP_SND_BUF ( TCP_MSS * 2 ) /* TCP sender buffer space (pbufs). This must be at least = 2 * TCP_SND_BUF/TCP_MSS for things to work. */ @@ -216,7 +216,7 @@ a lot of data that needs to be copied, this should be set high. */ #define TCP_SNDLOWAT (TCP_SND_BUF/2) /* TCP receive window. */ -#define TCP_WND 4048 +#define TCP_WND ( PBUF_POOL_SIZE * PBUF_POOL_BUFSIZE ) /* Maximum number of retransmissions of data segments. */ #define TCP_MAXRTX 12 -- 2.39.5