diff options
Diffstat (limited to 'net/sched')
-rw-r--r-- | net/sched/Kconfig | 37 |
1 files changed, 8 insertions, 29 deletions
diff --git a/net/sched/Kconfig b/net/sched/Kconfig index 7f34e7fd767c..55cd5327fbd7 100644 --- a/net/sched/Kconfig +++ b/net/sched/Kconfig | |||
@@ -40,9 +40,10 @@ config NET_SCHED | |||
40 | The available schedulers are listed in the following questions; you | 40 | The available schedulers are listed in the following questions; you |
41 | can say Y to as many as you like. If unsure, say N now. | 41 | can say Y to as many as you like. If unsure, say N now. |
42 | 42 | ||
43 | if NET_SCHED | ||
44 | |||
43 | choice | 45 | choice |
44 | prompt "Packet scheduler clock source" | 46 | prompt "Packet scheduler clock source" |
45 | depends on NET_SCHED | ||
46 | default NET_SCH_CLK_JIFFIES | 47 | default NET_SCH_CLK_JIFFIES |
47 | ---help--- | 48 | ---help--- |
48 | Packet schedulers need a monotonic clock that increments at a static | 49 | Packet schedulers need a monotonic clock that increments at a static |
@@ -98,11 +99,9 @@ config NET_SCH_CLK_CPU | |||
98 | endchoice | 99 | endchoice |
99 | 100 | ||
100 | comment "Queueing/Scheduling" | 101 | comment "Queueing/Scheduling" |
101 | depends on NET_SCHED | ||
102 | 102 | ||
103 | config NET_SCH_CBQ | 103 | config NET_SCH_CBQ |
104 | tristate "Class Based Queueing (CBQ)" | 104 | tristate "Class Based Queueing (CBQ)" |
105 | depends on NET_SCHED | ||
106 | ---help--- | 105 | ---help--- |
107 | Say Y here if you want to use the Class-Based Queueing (CBQ) packet | 106 | Say Y here if you want to use the Class-Based Queueing (CBQ) packet |
108 | scheduling algorithm. This algorithm classifies the waiting packets | 107 | scheduling algorithm. This algorithm classifies the waiting packets |
@@ -120,7 +119,6 @@ config NET_SCH_CBQ | |||
120 | 119 | ||
121 | config NET_SCH_HTB | 120 | config NET_SCH_HTB |
122 | tristate "Hierarchical Token Bucket (HTB)" | 121 | tristate "Hierarchical Token Bucket (HTB)" |
123 | depends on NET_SCHED | ||
124 | ---help--- | 122 | ---help--- |
125 | Say Y here if you want to use the Hierarchical Token Buckets (HTB) | 123 | Say Y here if you want to use the Hierarchical Token Buckets (HTB) |
126 | packet scheduling algorithm. See | 124 | packet scheduling algorithm. See |
@@ -135,7 +133,6 @@ config NET_SCH_HTB | |||
135 | 133 | ||
136 | config NET_SCH_HFSC | 134 | config NET_SCH_HFSC |
137 | tristate "Hierarchical Fair Service Curve (HFSC)" | 135 | tristate "Hierarchical Fair Service Curve (HFSC)" |
138 | depends on NET_SCHED | ||
139 | ---help--- | 136 | ---help--- |
140 | Say Y here if you want to use the Hierarchical Fair Service Curve | 137 | Say Y here if you want to use the Hierarchical Fair Service Curve |
141 | (HFSC) packet scheduling algorithm. | 138 | (HFSC) packet scheduling algorithm. |
@@ -145,7 +142,7 @@ config NET_SCH_HFSC | |||
145 | 142 | ||
146 | config NET_SCH_ATM | 143 | config NET_SCH_ATM |
147 | tristate "ATM Virtual Circuits (ATM)" | 144 | tristate "ATM Virtual Circuits (ATM)" |
148 | depends on NET_SCHED && ATM | 145 | depends on ATM |
149 | ---help--- | 146 | ---help--- |
150 | Say Y here if you want to use the ATM pseudo-scheduler. This | 147 | Say Y here if you want to use the ATM pseudo-scheduler. This |
151 | provides a framework for invoking classifiers, which in turn | 148 | provides a framework for invoking classifiers, which in turn |
@@ -159,7 +156,6 @@ config NET_SCH_ATM | |||
159 | 156 | ||
160 | config NET_SCH_PRIO | 157 | config NET_SCH_PRIO |
161 | tristate "Multi Band Priority Queueing (PRIO)" | 158 | tristate "Multi Band Priority Queueing (PRIO)" |
162 | depends on NET_SCHED | ||
163 | ---help--- | 159 | ---help--- |
164 | Say Y here if you want to use an n-band priority queue packet | 160 | Say Y here if you want to use an n-band priority queue packet |
165 | scheduler. | 161 | scheduler. |
@@ -169,7 +165,6 @@ config NET_SCH_PRIO | |||
169 | 165 | ||
170 | config NET_SCH_RED | 166 | config NET_SCH_RED |
171 | tristate "Random Early Detection (RED)" | 167 | tristate "Random Early Detection (RED)" |
172 | depends on NET_SCHED | ||
173 | ---help--- | 168 | ---help--- |
174 | Say Y here if you want to use the Random Early Detection (RED) | 169 | Say Y here if you want to use the Random Early Detection (RED) |
175 | packet scheduling algorithm. | 170 | packet scheduling algorithm. |
@@ -181,7 +176,6 @@ config NET_SCH_RED | |||
181 | 176 | ||
182 | config NET_SCH_SFQ | 177 | config NET_SCH_SFQ |
183 | tristate "Stochastic Fairness Queueing (SFQ)" | 178 | tristate "Stochastic Fairness Queueing (SFQ)" |
184 | depends on NET_SCHED | ||
185 | ---help--- | 179 | ---help--- |
186 | Say Y here if you want to use the Stochastic Fairness Queueing (SFQ) | 180 | Say Y here if you want to use the Stochastic Fairness Queueing (SFQ) |
187 | packet scheduling algorithm . | 181 | packet scheduling algorithm . |
@@ -193,7 +187,6 @@ config NET_SCH_SFQ | |||
193 | 187 | ||
194 | config NET_SCH_TEQL | 188 | config NET_SCH_TEQL |
195 | tristate "True Link Equalizer (TEQL)" | 189 | tristate "True Link Equalizer (TEQL)" |
196 | depends on NET_SCHED | ||
197 | ---help--- | 190 | ---help--- |
198 | Say Y here if you want to use the True Link Equalizer (TLE) packet | 191 | Say Y here if you want to use the True Link Equalizer (TLE) packet |
199 | scheduling algorithm. This queueing discipline allows the combination | 192 | scheduling algorithm. This queueing discipline allows the combination |
@@ -206,7 +199,6 @@ config NET_SCH_TEQL | |||
206 | 199 | ||
207 | config NET_SCH_TBF | 200 | config NET_SCH_TBF |
208 | tristate "Token Bucket Filter (TBF)" | 201 | tristate "Token Bucket Filter (TBF)" |
209 | depends on NET_SCHED | ||
210 | ---help--- | 202 | ---help--- |
211 | Say Y here if you want to use the Token Bucket Filter (TBF) packet | 203 | Say Y here if you want to use the Token Bucket Filter (TBF) packet |
212 | scheduling algorithm. | 204 | scheduling algorithm. |
@@ -218,7 +210,6 @@ config NET_SCH_TBF | |||
218 | 210 | ||
219 | config NET_SCH_GRED | 211 | config NET_SCH_GRED |
220 | tristate "Generic Random Early Detection (GRED)" | 212 | tristate "Generic Random Early Detection (GRED)" |
221 | depends on NET_SCHED | ||
222 | ---help--- | 213 | ---help--- |
223 | Say Y here if you want to use the Generic Random Early Detection | 214 | Say Y here if you want to use the Generic Random Early Detection |
224 | (GRED) packet scheduling algorithm for some of your network devices | 215 | (GRED) packet scheduling algorithm for some of your network devices |
@@ -230,7 +221,6 @@ config NET_SCH_GRED | |||
230 | 221 | ||
231 | config NET_SCH_DSMARK | 222 | config NET_SCH_DSMARK |
232 | tristate "Differentiated Services marker (DSMARK)" | 223 | tristate "Differentiated Services marker (DSMARK)" |
233 | depends on NET_SCHED | ||
234 | ---help--- | 224 | ---help--- |
235 | Say Y if you want to schedule packets according to the | 225 | Say Y if you want to schedule packets according to the |
236 | Differentiated Services architecture proposed in RFC 2475. | 226 | Differentiated Services architecture proposed in RFC 2475. |
@@ -242,7 +232,6 @@ config NET_SCH_DSMARK | |||
242 | 232 | ||
243 | config NET_SCH_NETEM | 233 | config NET_SCH_NETEM |
244 | tristate "Network emulator (NETEM)" | 234 | tristate "Network emulator (NETEM)" |
245 | depends on NET_SCHED | ||
246 | ---help--- | 235 | ---help--- |
247 | Say Y if you want to emulate network delay, loss, and packet | 236 | Say Y if you want to emulate network delay, loss, and packet |
248 | re-ordering. This is often useful to simulate networks when | 237 | re-ordering. This is often useful to simulate networks when |
@@ -255,7 +244,6 @@ config NET_SCH_NETEM | |||
255 | 244 | ||
256 | config NET_SCH_INGRESS | 245 | config NET_SCH_INGRESS |
257 | tristate "Ingress Qdisc" | 246 | tristate "Ingress Qdisc" |
258 | depends on NET_SCHED | ||
259 | ---help--- | 247 | ---help--- |
260 | Say Y here if you want to use classifiers for incoming packets. | 248 | Say Y here if you want to use classifiers for incoming packets. |
261 | If unsure, say Y. | 249 | If unsure, say Y. |
@@ -264,14 +252,12 @@ config NET_SCH_INGRESS | |||
264 | module will be called sch_ingress. | 252 | module will be called sch_ingress. |
265 | 253 | ||
266 | comment "Classification" | 254 | comment "Classification" |
267 | depends on NET_SCHED | ||
268 | 255 | ||
269 | config NET_CLS | 256 | config NET_CLS |
270 | boolean | 257 | boolean |
271 | 258 | ||
272 | config NET_CLS_BASIC | 259 | config NET_CLS_BASIC |
273 | tristate "Elementary classification (BASIC)" | 260 | tristate "Elementary classification (BASIC)" |
274 | depends NET_SCHED | ||
275 | select NET_CLS | 261 | select NET_CLS |
276 | ---help--- | 262 | ---help--- |
277 | Say Y here if you want to be able to classify packets using | 263 | Say Y here if you want to be able to classify packets using |
@@ -282,7 +268,6 @@ config NET_CLS_BASIC | |||
282 | 268 | ||
283 | config NET_CLS_TCINDEX | 269 | config NET_CLS_TCINDEX |
284 | tristate "Traffic-Control Index (TCINDEX)" | 270 | tristate "Traffic-Control Index (TCINDEX)" |
285 | depends NET_SCHED | ||
286 | select NET_CLS | 271 | select NET_CLS |
287 | ---help--- | 272 | ---help--- |
288 | Say Y here if you want to be able to classify packets based on | 273 | Say Y here if you want to be able to classify packets based on |
@@ -294,7 +279,6 @@ config NET_CLS_TCINDEX | |||
294 | 279 | ||
295 | config NET_CLS_ROUTE4 | 280 | config NET_CLS_ROUTE4 |
296 | tristate "Routing decision (ROUTE)" | 281 | tristate "Routing decision (ROUTE)" |
297 | depends NET_SCHED | ||
298 | select NET_CLS_ROUTE | 282 | select NET_CLS_ROUTE |
299 | select NET_CLS | 283 | select NET_CLS |
300 | ---help--- | 284 | ---help--- |
@@ -306,11 +290,9 @@ config NET_CLS_ROUTE4 | |||
306 | 290 | ||
307 | config NET_CLS_ROUTE | 291 | config NET_CLS_ROUTE |
308 | bool | 292 | bool |
309 | default n | ||
310 | 293 | ||
311 | config NET_CLS_FW | 294 | config NET_CLS_FW |
312 | tristate "Netfilter mark (FW)" | 295 | tristate "Netfilter mark (FW)" |
313 | depends NET_SCHED | ||
314 | select NET_CLS | 296 | select NET_CLS |
315 | ---help--- | 297 | ---help--- |
316 | If you say Y here, you will be able to classify packets | 298 | If you say Y here, you will be able to classify packets |
@@ -321,7 +303,6 @@ config NET_CLS_FW | |||
321 | 303 | ||
322 | config NET_CLS_U32 | 304 | config NET_CLS_U32 |
323 | tristate "Universal 32bit comparisons w/ hashing (U32)" | 305 | tristate "Universal 32bit comparisons w/ hashing (U32)" |
324 | depends NET_SCHED | ||
325 | select NET_CLS | 306 | select NET_CLS |
326 | ---help--- | 307 | ---help--- |
327 | Say Y here to be able to classify packetes using a universal | 308 | Say Y here to be able to classify packetes using a universal |
@@ -345,7 +326,6 @@ config CLS_U32_MARK | |||
345 | 326 | ||
346 | config NET_CLS_RSVP | 327 | config NET_CLS_RSVP |
347 | tristate "IPv4 Resource Reservation Protocol (RSVP)" | 328 | tristate "IPv4 Resource Reservation Protocol (RSVP)" |
348 | depends on NET_SCHED | ||
349 | select NET_CLS | 329 | select NET_CLS |
350 | select NET_ESTIMATOR | 330 | select NET_ESTIMATOR |
351 | ---help--- | 331 | ---help--- |
@@ -361,7 +341,6 @@ config NET_CLS_RSVP | |||
361 | 341 | ||
362 | config NET_CLS_RSVP6 | 342 | config NET_CLS_RSVP6 |
363 | tristate "IPv6 Resource Reservation Protocol (RSVP6)" | 343 | tristate "IPv6 Resource Reservation Protocol (RSVP6)" |
364 | depends on NET_SCHED | ||
365 | select NET_CLS | 344 | select NET_CLS |
366 | select NET_ESTIMATOR | 345 | select NET_ESTIMATOR |
367 | ---help--- | 346 | ---help--- |
@@ -377,7 +356,6 @@ config NET_CLS_RSVP6 | |||
377 | 356 | ||
378 | config NET_EMATCH | 357 | config NET_EMATCH |
379 | bool "Extended Matches" | 358 | bool "Extended Matches" |
380 | depends NET_SCHED | ||
381 | select NET_CLS | 359 | select NET_CLS |
382 | ---help--- | 360 | ---help--- |
383 | Say Y here if you want to use extended matches on top of classifiers | 361 | Say Y here if you want to use extended matches on top of classifiers |
@@ -456,7 +434,7 @@ config NET_EMATCH_TEXT | |||
456 | 434 | ||
457 | config NET_CLS_ACT | 435 | config NET_CLS_ACT |
458 | bool "Actions" | 436 | bool "Actions" |
459 | depends on EXPERIMENTAL && NET_SCHED | 437 | depends on EXPERIMENTAL |
460 | select NET_ESTIMATOR | 438 | select NET_ESTIMATOR |
461 | ---help--- | 439 | ---help--- |
462 | Say Y here if you want to use traffic control actions. Actions | 440 | Say Y here if you want to use traffic control actions. Actions |
@@ -539,7 +517,7 @@ config NET_ACT_SIMP | |||
539 | 517 | ||
540 | config NET_CLS_POLICE | 518 | config NET_CLS_POLICE |
541 | bool "Traffic Policing (obsolete)" | 519 | bool "Traffic Policing (obsolete)" |
542 | depends on NET_SCHED && NET_CLS_ACT!=y | 520 | depends on NET_CLS_ACT!=y |
543 | select NET_ESTIMATOR | 521 | select NET_ESTIMATOR |
544 | ---help--- | 522 | ---help--- |
545 | Say Y here if you want to do traffic policing, i.e. strict | 523 | Say Y here if you want to do traffic policing, i.e. strict |
@@ -549,7 +527,7 @@ config NET_CLS_POLICE | |||
549 | 527 | ||
550 | config NET_CLS_IND | 528 | config NET_CLS_IND |
551 | bool "Incoming device classification" | 529 | bool "Incoming device classification" |
552 | depends on NET_SCHED && (NET_CLS_U32 || NET_CLS_FW) | 530 | depends on NET_CLS_U32 || NET_CLS_FW |
553 | ---help--- | 531 | ---help--- |
554 | Say Y here to extend the u32 and fw classifier to support | 532 | Say Y here to extend the u32 and fw classifier to support |
555 | classification based on the incoming device. This option is | 533 | classification based on the incoming device. This option is |
@@ -557,11 +535,12 @@ config NET_CLS_IND | |||
557 | 535 | ||
558 | config NET_ESTIMATOR | 536 | config NET_ESTIMATOR |
559 | bool "Rate estimator" | 537 | bool "Rate estimator" |
560 | depends on NET_SCHED | ||
561 | ---help--- | 538 | ---help--- |
562 | Say Y here to allow using rate estimators to estimate the current | 539 | Say Y here to allow using rate estimators to estimate the current |
563 | rate-of-flow for network devices, queues, etc. This module is | 540 | rate-of-flow for network devices, queues, etc. This module is |
564 | automaticaly selected if needed but can be selected manually for | 541 | automaticaly selected if needed but can be selected manually for |
565 | statstical purposes. | 542 | statstical purposes. |
566 | 543 | ||
544 | endif # NET_SCHED | ||
545 | |||
567 | endmenu | 546 | endmenu |