diff options
author | Allan Stephens <Allan.Stephens@windriver.com> | 2011-02-25 14:22:11 -0500 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-03-13 16:35:17 -0400 |
commit | f831c963b5c20bec230edce89e25f369996be5db (patch) | |
tree | 8024a1771fae59bddaa8f83c025ea9d5d9743f59 /net/tipc/Kconfig | |
parent | d1bcb11544109114d72965afea7805cc3e16a83a (diff) |
tipc: Eliminate configuration for maximum number of cluster nodes
Gets rid of the need for users to specify the maximum number of
cluster nodes supported by TIPC. TIPC now automatically provides
support for all 4K nodes allowed by its addressing scheme.
Note: This change sets TIPC's memory usage to the amount used by
a maximum size node table with 4K entries. An upcoming patch that
converts the node table from a linear array to a hash table will
compact the node table to a more efficient design, but for clarity
it is nice to have all the Kconfig infrastruture go away separately.
Signed-off-by: Allan Stephens <Allan.Stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'net/tipc/Kconfig')
-rw-r--r-- | net/tipc/Kconfig | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/net/tipc/Kconfig b/net/tipc/Kconfig index 0436927369f3..2c5954b85933 100644 --- a/net/tipc/Kconfig +++ b/net/tipc/Kconfig | |||
@@ -29,18 +29,6 @@ config TIPC_ADVANCED | |||
29 | Saying Y here will open some advanced configuration for TIPC. | 29 | Saying Y here will open some advanced configuration for TIPC. |
30 | Most users do not need to bother; if unsure, just say N. | 30 | Most users do not need to bother; if unsure, just say N. |
31 | 31 | ||
32 | config TIPC_NODES | ||
33 | int "Maximum number of nodes in a cluster" | ||
34 | depends on TIPC_ADVANCED | ||
35 | range 8 2047 | ||
36 | default "255" | ||
37 | help | ||
38 | Specifies how many nodes can be supported in a TIPC cluster. | ||
39 | Can range from 8 to 2047 nodes; default is 255. | ||
40 | |||
41 | Setting this to a smaller value saves some memory; | ||
42 | setting it to higher allows for more nodes. | ||
43 | |||
44 | config TIPC_PORTS | 32 | config TIPC_PORTS |
45 | int "Maximum number of ports in a node" | 33 | int "Maximum number of ports in a node" |
46 | depends on TIPC_ADVANCED | 34 | depends on TIPC_ADVANCED |