mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
Make the read ahead buffer unselectable
Here is the email loop talk about why it is better to remove the option: https://groups.google.com/forum/#!topic/nuttx/AaNkS7oU6R0 Change-Id: Ib66c037752149ad4b2787ef447f966c77aa12aad Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
@@ -187,13 +187,13 @@ enum iob_user_e
|
||||
#ifdef CONFIG_NET_BLUETOOTH
|
||||
IOBUSER_NET_SOCK_BLUETOOTH,
|
||||
#endif
|
||||
#ifdef CONFIG_NET_UDP_READAHEAD
|
||||
#if defined(CONFIG_NET_UDP) && !defined(NET_UDP_NO_STACK)
|
||||
IOBUSER_NET_UDP_READAHEAD,
|
||||
#endif
|
||||
#ifdef CONFIG_NET_UDP_WRITE_BUFFERS
|
||||
IOBUSER_NET_UDP_WRITEBUFFER,
|
||||
#endif
|
||||
#ifdef CONFIG_NET_TCP_READAHEAD
|
||||
#if defined(CONFIG_NET_TCP) && !defined(NET_TCP_NO_STACK)
|
||||
IOBUSER_NET_TCP_READAHEAD,
|
||||
#endif
|
||||
#ifdef CONFIG_NET_TCP_WRITE_BUFFERS
|
||||
|
||||
@@ -587,20 +587,6 @@
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/* General configuration options */
|
||||
|
||||
/* Delay after receive to catch a following packet. No delay should be
|
||||
* required if TCP/IP read-ahead buffering is enabled.
|
||||
*/
|
||||
|
||||
#ifndef CONFIG_NET_TCP_RECVDELAY
|
||||
# ifdef CONFIG_NET_TCP_READAHEAD
|
||||
# define CONFIG_NET_TCP_RECVDELAY 0
|
||||
# else
|
||||
# define CONFIG_NET_TCP_RECVDELAY 5
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Public Type Definitions
|
||||
****************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user