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:
parent
506b83f8d9
commit
c5a7da5b7a
|
@ -35,7 +35,7 @@ config IOB_BUFSIZE
|
|||
config IOB_NCHAINS
|
||||
int "Number of pre-allocated I/O buffer chain heads"
|
||||
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---
|
||||
These tiny nodes are used as "containers" to support queueing of
|
||||
I/O buffer chains. This will limit the number of I/O transactions
|
||||
|
|
Loading…
Reference in New Issue