mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 11:56:10 +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:
+2
-2
@@ -62,8 +62,8 @@ config IOB_NCHAINS
|
|||||||
I/O buffer chain containers that also carry a payload of usage
|
I/O buffer chain containers that also carry a payload of usage
|
||||||
specific information.
|
specific information.
|
||||||
|
|
||||||
Note: TCP doesn't use this.
|
Note: TCP and UDP don't use this.
|
||||||
Note: UDP and CAN use this.
|
Note: ICMP/ICMPv6 and CAN use this.
|
||||||
|
|
||||||
config IOB_THROTTLE
|
config IOB_THROTTLE
|
||||||
int "I/O buffer throttle value"
|
int "I/O buffer throttle value"
|
||||||
|
|||||||
+1
-1
@@ -37,7 +37,7 @@ config NET_ICMP_PMTU_TIMEOUT
|
|||||||
config NET_ICMP_SOCKET
|
config NET_ICMP_SOCKET
|
||||||
bool "IPPROTO_ICMP socket support"
|
bool "IPPROTO_ICMP socket support"
|
||||||
default n
|
default n
|
||||||
select MM_IOB
|
select NET_READAHEAD
|
||||||
---help---
|
---help---
|
||||||
Enable support for IPPROTO_ICMP sockets. These sockets are needed
|
Enable support for IPPROTO_ICMP sockets. These sockets are needed
|
||||||
for application level support for sending ECHO (ping) requests and
|
for application level support for sending ECHO (ping) requests and
|
||||||
|
|||||||
+1
-1
@@ -39,7 +39,7 @@ config NET_ICMPv6_PMTU_TIMEOUT
|
|||||||
config NET_ICMPv6_SOCKET
|
config NET_ICMPv6_SOCKET
|
||||||
bool "IPPROTO_ICMP6 socket support"
|
bool "IPPROTO_ICMP6 socket support"
|
||||||
default n
|
default n
|
||||||
select MM_IOB
|
select NET_READAHEAD
|
||||||
---help---
|
---help---
|
||||||
Enable support for IPPROTO_ICMP6 sockets. These sockets are needed
|
Enable support for IPPROTO_ICMP6 sockets. These sockets are needed
|
||||||
for application level support for sending ICMPv7 ECHO requests and
|
for application level support for sending ICMPv7 ECHO requests and
|
||||||
|
|||||||
Reference in New Issue
Block a user