hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/net/netfilter/ipvs/Kconfig
....@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 #
23 # IP Virtual Server configuration
34 #
....@@ -5,7 +6,7 @@
56 tristate "IP virtual server support"
67 depends on NET && INET && NETFILTER
78 depends on (NF_CONNTRACK || NF_CONNTRACK=n)
8
- ---help---
9
+ help
910 IP Virtual Server support will let you build a high-performance
1011 virtual server based on cluster of two or more real servers. This
1112 option must be enabled for at least one of the clustered computers
....@@ -28,16 +29,15 @@
2829 config IP_VS_IPV6
2930 bool "IPv6 support for IPVS"
3031 depends on IPV6 = y || IP_VS = IPV6
31
- select IP6_NF_IPTABLES
3232 select NF_DEFRAG_IPV6
33
- ---help---
33
+ help
3434 Add IPv6 support to IPVS.
3535
3636 Say Y if unsure.
3737
3838 config IP_VS_DEBUG
3939 bool "IP virtual server debugging"
40
- ---help---
40
+ help
4141 Say Y here if you want to get additional messages useful in
4242 debugging the IP virtual server code. You can change the debug
4343 level in /proc/sys/net/ipv4/vs/debug_level
....@@ -46,7 +46,7 @@
4646 int "IPVS connection table size (the Nth power of 2)"
4747 range 8 20
4848 default 12
49
- ---help---
49
+ help
5050 The IPVS connection hash table uses the chaining scheme to handle
5151 hash collisions. Using a big IPVS connection hash table will greatly
5252 reduce conflicts when there are hundreds of thousands of connections
....@@ -77,13 +77,13 @@
7777
7878 config IP_VS_PROTO_TCP
7979 bool "TCP load balancing support"
80
- ---help---
80
+ help
8181 This option enables support for load balancing TCP transport
8282 protocol. Say Y if unsure.
8383
8484 config IP_VS_PROTO_UDP
8585 bool "UDP load balancing support"
86
- ---help---
86
+ help
8787 This option enables support for load balancing UDP transport
8888 protocol. Say Y if unsure.
8989
....@@ -92,20 +92,20 @@
9292
9393 config IP_VS_PROTO_ESP
9494 bool "ESP load balancing support"
95
- ---help---
95
+ help
9696 This option enables support for load balancing ESP (Encapsulation
9797 Security Payload) transport protocol. Say Y if unsure.
9898
9999 config IP_VS_PROTO_AH
100100 bool "AH load balancing support"
101
- ---help---
101
+ help
102102 This option enables support for load balancing AH (Authentication
103103 Header) transport protocol. Say Y if unsure.
104104
105105 config IP_VS_PROTO_SCTP
106106 bool "SCTP load balancing support"
107107 select LIBCRC32C
108
- ---help---
108
+ help
109109 This option enables support for load balancing SCTP transport
110110 protocol. Say Y if unsure.
111111
....@@ -113,7 +113,7 @@
113113
114114 config IP_VS_RR
115115 tristate "round-robin scheduling"
116
- ---help---
116
+ help
117117 The robin-robin scheduling algorithm simply directs network
118118 connections to different real servers in a round-robin manner.
119119
....@@ -122,7 +122,7 @@
122122
123123 config IP_VS_WRR
124124 tristate "weighted round-robin scheduling"
125
- ---help---
125
+ help
126126 The weighted robin-robin scheduling algorithm directs network
127127 connections to different real servers based on server weights
128128 in a round-robin manner. Servers with higher weights receive
....@@ -134,8 +134,8 @@
134134 module, choose M here. If unsure, say N.
135135
136136 config IP_VS_LC
137
- tristate "least-connection scheduling"
138
- ---help---
137
+ tristate "least-connection scheduling"
138
+ help
139139 The least-connection scheduling algorithm directs network
140140 connections to the server with the least number of active
141141 connections.
....@@ -144,8 +144,8 @@
144144 module, choose M here. If unsure, say N.
145145
146146 config IP_VS_WLC
147
- tristate "weighted least-connection scheduling"
148
- ---help---
147
+ tristate "weighted least-connection scheduling"
148
+ help
149149 The weighted least-connection scheduling algorithm directs network
150150 connections to the server with the least active connections
151151 normalized by the server weight.
....@@ -155,7 +155,7 @@
155155
156156 config IP_VS_FO
157157 tristate "weighted failover scheduling"
158
- ---help---
158
+ help
159159 The weighted failover scheduling algorithm directs network
160160 connections to the server with the highest weight that is
161161 currently available.
....@@ -165,7 +165,7 @@
165165
166166 config IP_VS_OVF
167167 tristate "weighted overflow scheduling"
168
- ---help---
168
+ help
169169 The weighted overflow scheduling algorithm directs network
170170 connections to the server with the highest weight that is
171171 currently available and overflows to the next when active
....@@ -176,7 +176,7 @@
176176
177177 config IP_VS_LBLC
178178 tristate "locality-based least-connection scheduling"
179
- ---help---
179
+ help
180180 The locality-based least-connection scheduling algorithm is for
181181 destination IP load balancing. It is usually used in cache cluster.
182182 This algorithm usually directs packet destined for an IP address to
....@@ -190,7 +190,7 @@
190190
191191 config IP_VS_LBLCR
192192 tristate "locality-based least-connection with replication scheduling"
193
- ---help---
193
+ help
194194 The locality-based least-connection with replication scheduling
195195 algorithm is also for destination IP load balancing. It is
196196 usually used in cache cluster. It differs from the LBLC scheduling
....@@ -208,7 +208,7 @@
208208
209209 config IP_VS_DH
210210 tristate "destination hashing scheduling"
211
- ---help---
211
+ help
212212 The destination hashing scheduling algorithm assigns network
213213 connections to the servers through looking up a statically assigned
214214 hash table by their destination IP addresses.
....@@ -218,7 +218,7 @@
218218
219219 config IP_VS_SH
220220 tristate "source hashing scheduling"
221
- ---help---
221
+ help
222222 The source hashing scheduling algorithm assigns network
223223 connections to the servers through looking up a statically assigned
224224 hash table by their source IP addresses.
....@@ -228,7 +228,7 @@
228228
229229 config IP_VS_MH
230230 tristate "maglev hashing scheduling"
231
- ---help---
231
+ help
232232 The maglev consistent hashing scheduling algorithm provides the
233233 Google's Maglev hashing algorithm as a IPVS scheduler. It assigns
234234 network connections to the servers through looking up a statically
....@@ -247,7 +247,7 @@
247247
248248 config IP_VS_SED
249249 tristate "shortest expected delay scheduling"
250
- ---help---
250
+ help
251251 The shortest expected delay scheduling algorithm assigns network
252252 connections to the server with the shortest expected delay. The
253253 expected delay that the job will experience is (Ci + 1) / Ui if
....@@ -260,7 +260,7 @@
260260
261261 config IP_VS_NQ
262262 tristate "never queue scheduling"
263
- ---help---
263
+ help
264264 The never queue scheduling algorithm adopts a two-speed model.
265265 When there is an idle server available, the job will be sent to
266266 the idle server, instead of waiting for a fast one. When there
....@@ -277,7 +277,7 @@
277277 int "IPVS source hashing table size (the Nth power of 2)"
278278 range 4 20
279279 default 8
280
- ---help---
280
+ help
281281 The source hashing scheduler maps source IPs to destinations
282282 stored in a hash table. This table is tiled by each destination
283283 until all slots in the table are filled. When using weights to
....@@ -292,7 +292,7 @@
292292 int "IPVS maglev hashing table index of size (the prime numbers)"
293293 range 8 17
294294 default 12
295
- ---help---
295
+ help
296296 The maglev hashing scheduler maps source IPs to destinations
297297 stored in a hash table. This table is assigned by a preference
298298 list of the positions to each destination until all slots in
....@@ -311,7 +311,7 @@
311311 depends on IP_VS_PROTO_TCP && NF_CONNTRACK && NF_NAT && \
312312 NF_CONNTRACK_FTP
313313 select IP_VS_NFCT
314
- ---help---
314
+ help
315315 FTP is a protocol that transfers IP address and/or port number in
316316 the payload. In the virtual server via Network Address Translation,
317317 the IP address and port number of real servers cannot be sent to
....@@ -325,16 +325,16 @@
325325 config IP_VS_NFCT
326326 bool "Netfilter connection tracking"
327327 depends on NF_CONNTRACK
328
- ---help---
328
+ help
329329 The Netfilter connection tracking support allows the IPVS
330330 connection state to be exported to the Netfilter framework
331331 for filtering purposes.
332332
333333 config IP_VS_PE_SIP
334334 tristate "SIP persistence engine"
335
- depends on IP_VS_PROTO_UDP
335
+ depends on IP_VS_PROTO_UDP
336336 depends on NF_CONNTRACK_SIP
337
- ---help---
337
+ help
338338 Allow persistence based on the SIP Call-ID
339339
340340 endif # IP_VS