From 405f2dd8c78b6b40050437745c106dc5f7873c8b Mon Sep 17 00:00:00 2001 From: patacongo Date: Mon, 19 Nov 2007 23:09:39 +0000 Subject: [PATCH] Add TCP readahead logic git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@387 42af7a65-404d-4744-a932-0658087f49c3 --- Documentation/NuttX.html | 1 + Documentation/NuttxPortingGuide.html | 10 ++++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Documentation/NuttX.html b/Documentation/NuttX.html index 8fa4cc0ad6..ce7ebbcc64 100644 --- a/Documentation/NuttX.html +++ b/Documentation/NuttX.html @@ -683,6 +683,7 @@ Other memory: * Basic server functionality verified: listen(), accept() * Fix DM90x0 driver problem that caused TX overruns * Add strncmp() + * Added TCP/IP read-ahead buffer to minimize failed ACKs and packet loss. diff --git a/Documentation/NuttxPortingGuide.html b/Documentation/NuttxPortingGuide.html index 923f08e847..faf3c5f890 100644 --- a/Documentation/NuttxPortingGuide.html +++ b/Documentation/NuttxPortingGuide.html @@ -1353,7 +1353,7 @@ The system can be re-made subsequently by just typing make. CONFIG_NSOCKET_DESCRIPTORS: Maximum number of socket descriptors per task/thread.
  • - CONFIG_NET_MAX_CONNECTIONS: Maximum number of TCP connections (all tasks). + CONFIG_NET_TCP_CONNS: Maximum number of TCP connections (all tasks).
  • CONFIG_NET_MAX_LISTENPORTS: Maximum number of listening TCP ports (all tasks). @@ -1362,7 +1362,13 @@ The system can be re-made subsequently by just typing make. CONFIG_NET_SOCKOPTS: Enable or disable support for socket options.
  • - CONFIG_NET_BUFFER_SIZE: uIP buffer size + CONFIG_NET_BUFSIZE: uIP buffer size +
  • +
  • + CONFIG_NET_TCP_READAHEAD_BUFSIZE: Size of TCP read-ahead buffers +
  • +
  • + CONFIG_NET_NTCP_READAHEAD_BUFFERS: Number of TCP read-ahead buffers (may be zero)
  • CONFIG_NET_UDP: UDP support on or off