xref: /linux-6.15/net/tipc/Kconfig (revision b97bf3fd)
1#
2# TIPC configuration
3#
4
5menu "TIPC Configuration (EXPERIMENTAL)"
6	depends on INET && EXPERIMENTAL
7
8config TIPC
9	tristate "The TIPC Protocol (EXPERIMENTAL)"
10	---help---
11	  TBD.
12
13	  This protocol support is also available as a module ( = code which
14	  can be inserted in and removed from the running kernel whenever you
15	  want). The module will be called tipc. If you want to compile it
16	  as a module, say M here and read <file:Documentation/modules.txt>.
17
18	  If in doubt, say N.
19
20config TIPC_ADVANCED
21	bool "TIPC: Advanced configuration"
22	depends on TIPC
23	default n
24	help
25	  Saying Y here will open some advanced configuration
26          for TIPC. Most users do not need to bother, so if
27          unsure, just say N.
28
29config TIPC_ZONES
30	int "Maximum number of zones in network"
31	depends on TIPC && TIPC_ADVANCED
32	default "3"
33	help
34	 Max number of zones inside TIPC network. Max supported value
35         is 255 zones, minimum is 1
36
37	 Default is 3 zones in a network; setting this to higher
38	 allows more zones but might use more memory.
39
40config TIPC_CLUSTERS
41	int "Maximum number of clusters in a zone"
42	depends on TIPC && TIPC_ADVANCED
43	default "1"
44	help
45          ***Only 1 (one cluster in a zone) is supported by current code.
46          Any value set here will be overridden.***
47
48          (Max number of clusters inside TIPC zone. Max supported
49          value is 4095 clusters, minimum is 1.
50
51	  Default is 1; setting this to smaller value might save
52          some memory, setting it to higher
53	  allows more clusters and might consume more memory.)
54
55config TIPC_NODES
56	int "Maximum number of nodes in cluster"
57	depends on TIPC && TIPC_ADVANCED
58	default "255"
59	help
60	  Maximum number of nodes inside a TIPC cluster. Maximum
61          supported value is 2047 nodes, minimum is 8.
62
63	  Setting this to a smaller value saves some memory,
64	  setting it to higher allows more nodes.
65
66config TIPC_SLAVE_NODES
67	int "Maximum number of slave nodes in cluster"
68	depends on TIPC && TIPC_ADVANCED
69	default "0"
70	help
71          ***This capability is not supported by current code.***
72
73	  Maximum number of slave nodes inside a TIPC cluster. Maximum
74          supported value is 2047 nodes, minimum is 0.
75
76	  Setting this to a smaller value saves some memory,
77	  setting it to higher allows more nodes.
78
79config TIPC_PORTS
80	int "Maximum number of ports in a node"
81	depends on TIPC && TIPC_ADVANCED
82	default "8191"
83	help
84	  Maximum number of ports within a node. Maximum
85          supported value is 64535 nodes, minimum is 127.
86
87	  Setting this to a smaller value saves some memory,
88	  setting it to higher allows more ports.
89
90config TIPC_LOG
91	int "Size of log buffer"
92	depends on TIPC && TIPC_ADVANCED
93	default 0
94	help
95 	  Size (in bytes) of TIPC's internal log buffer, which records the
96	  occurrence of significant events.  Maximum supported value
97	  is 32768 bytes, minimum is 0.
98
99	  There is no need to enable the log buffer unless the node will be
100	  managed remotely via TIPC.
101
102config TIPC_DEBUG
103	bool "Enable debugging support"
104	depends on TIPC
105	default n
106	help
107 	  This will enable debugging of TIPC.
108
109	  Only say Y here if you are having trouble with TIPC.  It will
110	  enable the display of detailed information about what is going on.
111
112endmenu
113