You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2022/07/20 05:17:15 UTC

[incubator-nuttx] branch master updated: net/slip: Rename and clarify orphaned Kconfig options

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new e937cfcbce net/slip: Rename and clarify orphaned Kconfig options
e937cfcbce is described below

commit e937cfcbce2f3d43e288f23eb5a3b9996ce2a761
Author: Denis Tolstov <to...@mail.ru>
AuthorDate: Wed Jul 20 00:14:58 2022 +0300

    net/slip: Rename and clarify orphaned Kconfig options
---
 net/Kconfig | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/net/Kconfig b/net/Kconfig
index 30b917956f..1982f818ab 100644
--- a/net/Kconfig
+++ b/net/Kconfig
@@ -196,7 +196,7 @@ menuconfig NET_SLIP
 
 if NET_SLIP
 
-config SLIP_NINTERFACES
+config NET_SLIP_NINTERFACES
 	int "Number of SLIP interfaces"
 	default 1
 	---help---
@@ -204,14 +204,17 @@ config SLIP_NINTERFACES
 		interfaces to support.
 		Default: 1
 
-config SLIP_STACKSIZE
-	int "SLIP stack size"
+config NET_SLIP_STACKSIZE
+	int "SLIP per-thread stack size"
 	default DEFAULT_TASK_STACKSIZE
 	---help---
 		Select the stack size of the SLIP RX and TX tasks.
 
-config SLIP_DEFPRIO
-	int "SLIP priority"
+		SLIP starts two dedicated threads per interface
+		to handle network events, enabling high performance.
+
+config NET_SLIP_DEFPRIO
+	int "SLIP threads priority"
 	default 128
 	---help---
 		The priority of the SLIP RX and TX tasks. Default: 128