mirror of
https://github.com/apache/nuttx.git
synced 2026-06-01 16:59:28 +08:00
mm/iob/Kconfig: Make the default of IOB_NCHAINS same as IOB_NBUFFERS. It is reasonable default value since iob_qentry_s is much small than iob_s and could avoid the buffer can be allocated but the chain can't: 'tcp_datahandler: ERROR: Failed to queue the I/O buffer chain: -12'
This commit is contained in:
+1
-1
@@ -35,7 +35,7 @@ config IOB_BUFSIZE
|
|||||||
config IOB_NCHAINS
|
config IOB_NCHAINS
|
||||||
int "Number of pre-allocated I/O buffer chain heads"
|
int "Number of pre-allocated I/O buffer chain heads"
|
||||||
default 0 if !NET_READAHEAD && !NET_UDP_READAHEAD
|
default 0 if !NET_READAHEAD && !NET_UDP_READAHEAD
|
||||||
default 8 if NET_READAHEAD || NET_UDP_READAHEAD
|
default IOB_NBUFFERS if NET_READAHEAD || NET_UDP_READAHEAD
|
||||||
---help---
|
---help---
|
||||||
These tiny nodes are used as "containers" to support queueing of
|
These tiny nodes are used as "containers" to support queueing of
|
||||||
I/O buffer chains. This will limit the number of I/O transactions
|
I/O buffer chains. This will limit the number of I/O transactions
|
||||||
|
|||||||
Reference in New Issue
Block a user