fjpanag commented on code in PR #7525: URL: https://github.com/apache/nuttx/pull/7525#discussion_r1045688152
########## net/tcp/Kconfig: ########## @@ -51,11 +51,45 @@ config NET_TCPURGDATA compiled in. Urgent data (out-of-band data) is a rarely used TCP feature that is very seldom would be required. -config NET_TCP_CONNS - int "Number of TCP/IP connections" +config NET_TCP_PREALLOC_CONNS + int "Preallocated TCP/IP connections" default 8 ---help--- - Maximum number of TCP/IP connections (all tasks) + Number of TCP/IP connections (all tasks). + + This number of connections will be pre-allocated during system boot. + If dynamic connections allocation is enabled, more connections may + be allocated at a later time, as the system needs them. Else this + will be the maximum number of connections available to the system + at all times. + + Set to 0 to disable (and rely only on dynamic allocations). + +config NET_TCP_ALLOC_CONNS + int "Dynamic TCP/IP connections allocation" + default 0 Review Comment: I see that the default was to have dynamic connections disabled: https://github.com/apache/nuttx/blob/master/net/Kconfig#L338 Do you insist on enabling it now? Maybe setting it to 1 would be safer? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org