diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-01-13 13:55:51 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-01-13 13:55:51 -0600 |
commit | d9bb5702d44cbee000a76151558fc51446fcf305 (patch) | |
tree | 6b991974a9f7a685db34b05b181fce30049789cd /nuttx/net/Kconfig | |
parent | 2d9a9034c31134db3f689430b9c04f63cf1ce59b (diff) | |
download | px4-nuttx-d9bb5702d44cbee000a76151558fc51446fcf305.tar.gz px4-nuttx-d9bb5702d44cbee000a76151558fc51446fcf305.tar.bz2 px4-nuttx-d9bb5702d44cbee000a76151558fc51446fcf305.zip |
Change how TCP read-ahead is selected to better integrate with TCP write buffering
Diffstat (limited to 'nuttx/net/Kconfig')
-rw-r--r-- | nuttx/net/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nuttx/net/Kconfig b/nuttx/net/Kconfig index 6bd92b118..d57243b9d 100644 --- a/nuttx/net/Kconfig +++ b/nuttx/net/Kconfig @@ -115,6 +115,12 @@ config NET_MAX_LISTENPORTS ---help--- Maximum number of listening TCP/IP ports (all tasks). Default: 20 +config NET_TCP_READAHEAD + bool "Enabled TCP/IP read-ahead buffering" + default y + +if NET_TCP_READAHEAD + config NET_TCP_READAHEAD_BUFSIZE int "TCP/IP read-ahead buffer size" default 562 @@ -140,6 +146,8 @@ config NET_NTCP_READAHEAD_BUFFERS memory constained system that does not have any TCP/IP packet rate issues. +endif # NET_TCP_READAHEAD + config NET_TCP_RECVDELAY int "TCP Rx delay" default 0 |