mirror of
https://github.com/apache/nuttx.git
synced 2025-12-10 20:24:51 +08:00
net: Refresh config dependency of NET_READAHEAD
ICMP(v6) uses IOB queue as readahead, but TCP/UDP don't now. Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
This commit is contained in:
@@ -62,8 +62,8 @@ config IOB_NCHAINS
|
||||
I/O buffer chain containers that also carry a payload of usage
|
||||
specific information.
|
||||
|
||||
Note: TCP doesn't use this.
|
||||
Note: UDP and CAN use this.
|
||||
Note: TCP and UDP don't use this.
|
||||
Note: ICMP/ICMPv6 and CAN use this.
|
||||
|
||||
config IOB_THROTTLE
|
||||
int "I/O buffer throttle value"
|
||||
|
||||
@@ -37,7 +37,7 @@ config NET_ICMP_PMTU_TIMEOUT
|
||||
config NET_ICMP_SOCKET
|
||||
bool "IPPROTO_ICMP socket support"
|
||||
default n
|
||||
select MM_IOB
|
||||
select NET_READAHEAD
|
||||
---help---
|
||||
Enable support for IPPROTO_ICMP sockets. These sockets are needed
|
||||
for application level support for sending ECHO (ping) requests and
|
||||
|
||||
@@ -39,7 +39,7 @@ config NET_ICMPv6_PMTU_TIMEOUT
|
||||
config NET_ICMPv6_SOCKET
|
||||
bool "IPPROTO_ICMP6 socket support"
|
||||
default n
|
||||
select MM_IOB
|
||||
select NET_READAHEAD
|
||||
---help---
|
||||
Enable support for IPPROTO_ICMP6 sockets. These sockets are needed
|
||||
for application level support for sending ICMPv7 ECHO requests and
|
||||
|
||||
Reference in New Issue
Block a user