Commit 7981d6f6 authored by Allan Stephens's avatar Allan Stephens Committed by David S. Miller

tipc: Clean up configuration file

This patch addresses a number of minor (mostly cosmetic) issues relating
to the configuration of TIPC, including the following:

- Corrects range limits for maximum number of ports per node
- Adds missing range limits for size of log buffer
- Removes configuration setting relating to unsupported slave node capability
- Standardizes description and help text wording for configuration settings
- Removes unneeded blank spaces
Signed-off-by: default avatarAllan Stephens <allan.stephens@windriver.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 11380a4b
...@@ -23,24 +23,23 @@ menuconfig TIPC ...@@ -23,24 +23,23 @@ menuconfig TIPC
if TIPC if TIPC
config TIPC_ADVANCED config TIPC_ADVANCED
bool "TIPC: Advanced configuration" bool "Advanced TIPC configuration"
default n default n
help help
Saying Y here will open some advanced configuration Saying Y here will open some advanced configuration for TIPC.
for TIPC. Most users do not need to bother, so if Most users do not need to bother; if unsure, just say N.
unsure, just say N.
config TIPC_ZONES config TIPC_ZONES
int "Maximum number of zones in network" int "Maximum number of zones in a network"
depends on TIPC_ADVANCED depends on TIPC_ADVANCED
range 1 255 range 1 255
default "3" default "3"
help help
Max number of zones inside TIPC network. Max supported value Specifies how many zones can be supported in a TIPC network.
is 255 zones, minimum is 1 Can range from 1 to 255 zones; default is 3.
Default is 3 zones in a network; setting this to higher Setting this to a smaller value saves some memory;
allows more zones but might use more memory. setting it to a higher value allows for more zones.
config TIPC_CLUSTERS config TIPC_CLUSTERS
int "Maximum number of clusters in a zone" int "Maximum number of clusters in a zone"
...@@ -48,70 +47,52 @@ config TIPC_CLUSTERS ...@@ -48,70 +47,52 @@ config TIPC_CLUSTERS
range 1 1 range 1 1
default "1" default "1"
help help
***Only 1 (one cluster in a zone) is supported by current code.*** Specifies how many clusters can be supported in a TIPC zone.
(Max number of clusters inside TIPC zone. Max supported *** Currently TIPC only supports a single cluster per zone. ***
value is 4095 clusters, minimum is 1.
Default is 1; setting this to smaller value might save
some memory, setting it to higher
allows more clusters and might consume more memory.)
config TIPC_NODES config TIPC_NODES
int "Maximum number of nodes in cluster" int "Maximum number of nodes in a cluster"
depends on TIPC_ADVANCED depends on TIPC_ADVANCED
range 8 2047 range 8 2047
default "255" default "255"
help help
Maximum number of nodes inside a TIPC cluster. Maximum Specifies how many nodes can be supported in a TIPC cluster.
supported value is 2047 nodes, minimum is 8. Can range from 8 to 2047 nodes; default is 255.
Setting this to a smaller value saves some memory,
setting it to higher allows more nodes.
config TIPC_SLAVE_NODES
int "Maximum number of slave nodes in cluster"
depends on TIPC_ADVANCED
range 0 2047
default "0"
help
***This capability is not supported by current code.***
Maximum number of slave nodes inside a TIPC cluster. Maximum Setting this to a smaller value saves some memory;
supported value is 2047 nodes, minimum is 0. setting it to higher allows for more nodes.
Setting this to a smaller value saves some memory,
setting it to higher allows more nodes.
config TIPC_PORTS config TIPC_PORTS
int "Maximum number of ports in a node" int "Maximum number of ports in a node"
depends on TIPC_ADVANCED depends on TIPC_ADVANCED
range 217 65536 range 127 65535
default "8191" default "8191"
help help
Maximum number of ports within a node. Maximum Specifies how many ports can be supported by a node.
supported value is 64535 nodes, minimum is 127. Can range from 127 to 65535 ports; default is 8191.
Setting this to a smaller value saves some memory, Setting this to a smaller value saves some memory,
setting it to higher allows more ports. setting it to higher allows for more ports.
config TIPC_LOG config TIPC_LOG
int "Size of log buffer" int "Size of log buffer"
depends on TIPC_ADVANCED depends on TIPC_ADVANCED
default 0 range 0 32768
default "0"
help help
Size (in bytes) of TIPC's internal log buffer, which records the Size (in bytes) of TIPC's internal log buffer, which records the
occurrence of significant events. Maximum supported value occurrence of significant events. Can range from 0 to 32768 bytes;
is 32768 bytes, minimum is 0. default is 0.
There is no need to enable the log buffer unless the node will be There is no need to enable the log buffer unless the node will be
managed remotely via TIPC. managed remotely via TIPC.
config TIPC_DEBUG config TIPC_DEBUG
bool "Enable debugging support" bool "Enable debug messages"
default n default n
help help
This will enable debugging of TIPC. This enables debugging of TIPC.
Only say Y here if you are having trouble with TIPC. It will Only say Y here if you are having trouble with TIPC. It will
enable the display of detailed information about what is going on. enable the display of detailed information about what is going on.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment