| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # | 
 | 2 | # Traffic control configuration. | 
 | 3 | #  | 
| Sam Ravnborg | 6a2e9b7 | 2005-07-11 21:13:56 -0700 | [diff] [blame] | 4 |  | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 5 | menu "QoS and/or fair queueing" | 
 | 6 |  | 
 | 7 | config NET_SCHED | 
| Sam Ravnborg | 6a2e9b7 | 2005-07-11 21:13:56 -0700 | [diff] [blame] | 8 | 	bool "QoS and/or fair queueing" | 
 | 9 | 	---help--- | 
 | 10 | 	  When the kernel has several packets to send out over a network | 
 | 11 | 	  device, it has to decide which ones to send first, which ones to | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 12 | 	  delay, and which ones to drop. This is the job of the queueing | 
 | 13 | 	  disciplines, several different algorithms for how to do this | 
| Sam Ravnborg | 6a2e9b7 | 2005-07-11 21:13:56 -0700 | [diff] [blame] | 14 | 	  "fairly" have been proposed. | 
 | 15 |  | 
 | 16 | 	  If you say N here, you will get the standard packet scheduler, which | 
 | 17 | 	  is a FIFO (first come, first served). If you say Y here, you will be | 
 | 18 | 	  able to choose from among several alternative algorithms which can | 
 | 19 | 	  then be attached to different network devices. This is useful for | 
 | 20 | 	  example if some of your network devices are real time devices that | 
 | 21 | 	  need a certain minimum data flow rate, or if you need to limit the | 
 | 22 | 	  maximum data flow rate for traffic which matches specified criteria. | 
 | 23 | 	  This code is considered to be experimental. | 
 | 24 |  | 
 | 25 | 	  To administer these schedulers, you'll need the user-level utilities | 
 | 26 | 	  from the package iproute2+tc at <ftp://ftp.tux.org/pub/net/ip-routing/>. | 
 | 27 | 	  That package also contains some documentation; for more, check out | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 28 | 	  <http://linux-net.osdl.org/index.php/Iproute2>. | 
| Sam Ravnborg | 6a2e9b7 | 2005-07-11 21:13:56 -0700 | [diff] [blame] | 29 |  | 
 | 30 | 	  This Quality of Service (QoS) support will enable you to use | 
 | 31 | 	  Differentiated Services (diffserv) and Resource Reservation Protocol | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 32 | 	  (RSVP) on your Linux router if you also say Y to the corresponding | 
 | 33 | 	  classifiers below.  Documentation and software is at | 
 | 34 | 	  <http://diffserv.sourceforge.net/>. | 
| Sam Ravnborg | 6a2e9b7 | 2005-07-11 21:13:56 -0700 | [diff] [blame] | 35 |  | 
 | 36 | 	  If you say Y here and to "/proc file system" below, you will be able | 
 | 37 | 	  to read status information about packet schedulers from the file | 
 | 38 | 	  /proc/net/psched. | 
 | 39 |  | 
 | 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. | 
 | 42 |  | 
| Roman Zippel | 05b8b0f | 2005-11-17 15:22:39 -0800 | [diff] [blame^] | 43 | if NET_SCHED | 
 | 44 |  | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 45 | choice | 
 | 46 | 	prompt "Packet scheduler clock source" | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 47 | 	default NET_SCH_CLK_JIFFIES | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 48 | 	---help--- | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 49 | 	  Packet schedulers need a monotonic clock that increments at a static | 
 | 50 | 	  rate. The kernel provides several suitable interfaces, each with | 
 | 51 | 	  different properties: | 
 | 52 | 	   | 
 | 53 | 	  - high resolution (us or better) | 
 | 54 | 	  - fast to read (minimal locking, no i/o access) | 
 | 55 | 	  - synchronized on all processors | 
 | 56 | 	  - handles cpu clock frequency changes | 
 | 57 |  | 
 | 58 | 	  but nothing provides all of the above. | 
 | 59 |  | 
 | 60 | config NET_SCH_CLK_JIFFIES | 
 | 61 | 	bool "Timer interrupt" | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 62 | 	---help--- | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 63 | 	  Say Y here if you want to use the timer interrupt (jiffies) as clock | 
 | 64 | 	  source. This clock source is fast, synchronized on all processors and | 
 | 65 | 	  handles cpu clock frequency changes, but its resolution is too low | 
 | 66 | 	  for accurate shaping except at very low speed. | 
 | 67 |  | 
 | 68 | config NET_SCH_CLK_GETTIMEOFDAY | 
 | 69 | 	bool "gettimeofday" | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 70 | 	---help--- | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 71 | 	  Say Y here if you want to use gettimeofday as clock source. This clock | 
 | 72 | 	  source has high resolution, is synchronized on all processors and | 
 | 73 | 	  handles cpu clock frequency changes, but it is slow. | 
 | 74 |  | 
 | 75 | 	  Choose this if you need a high resolution clock source but can't use | 
 | 76 | 	  the CPU's cycle counter. | 
 | 77 |  | 
| Andi Kleen | 34cb711 | 2005-10-13 14:41:44 -0700 | [diff] [blame] | 78 | # don't allow on SMP x86 because they can have unsynchronized TSCs. | 
 | 79 | # gettimeofday is a good alternative | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 80 | config NET_SCH_CLK_CPU | 
 | 81 | 	bool "CPU cycle counter" | 
| Andi Kleen | 34cb711 | 2005-10-13 14:41:44 -0700 | [diff] [blame] | 82 | 	depends on ((X86_TSC || X86_64) && !SMP) || ALPHA || SPARC64 || PPC64 || IA64 | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 83 | 	---help--- | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 84 | 	  Say Y here if you want to use the CPU's cycle counter as clock source. | 
 | 85 | 	  This is a cheap and high resolution clock source, but on some | 
 | 86 | 	  architectures it is not synchronized on all processors and doesn't | 
 | 87 | 	  handle cpu clock frequency changes. | 
 | 88 |  | 
 | 89 | 	  The useable cycle counters are: | 
 | 90 |  | 
 | 91 | 	  	x86/x86_64	- Timestamp Counter | 
 | 92 | 		alpha		- Cycle Counter | 
 | 93 | 		sparc64		- %ticks register | 
 | 94 | 		ppc64		- Time base | 
 | 95 | 		ia64		- Interval Time Counter | 
 | 96 |  | 
 | 97 | 	  Choose this if your CPU's cycle counter is working properly. | 
 | 98 |  | 
 | 99 | endchoice | 
 | 100 |  | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 101 | comment "Queueing/Scheduling" | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 102 |  | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 103 | config NET_SCH_CBQ | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 104 | 	tristate "Class Based Queueing (CBQ)" | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 105 | 	---help--- | 
 | 106 | 	  Say Y here if you want to use the Class-Based Queueing (CBQ) packet | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 107 | 	  scheduling algorithm. This algorithm classifies the waiting packets | 
 | 108 | 	  into a tree-like hierarchy of classes; the leaves of this tree are | 
 | 109 | 	  in turn scheduled by separate algorithms. | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 110 |  | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 111 | 	  See the top of <file:net/sched/sch_cbq.c> for more details. | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 112 |  | 
 | 113 | 	  CBQ is a commonly used scheduler, so if you're unsure, you should | 
 | 114 | 	  say Y here. Then say Y to all the queueing algorithms below that you | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 115 | 	  want to use as leaf disciplines. | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 116 |  | 
 | 117 | 	  To compile this code as a module, choose M here: the | 
 | 118 | 	  module will be called sch_cbq. | 
 | 119 |  | 
 | 120 | config NET_SCH_HTB | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 121 | 	tristate "Hierarchical Token Bucket (HTB)" | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 122 | 	---help--- | 
 | 123 | 	  Say Y here if you want to use the Hierarchical Token Buckets (HTB) | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 124 | 	  packet scheduling algorithm. See | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 125 | 	  <http://luxik.cdi.cz/~devik/qos/htb/> for complete manual and | 
 | 126 | 	  in-depth articles. | 
 | 127 |  | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 128 | 	  HTB is very similar to CBQ regarding its goals however is has | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 129 | 	  different properties and different algorithm. | 
 | 130 |  | 
 | 131 | 	  To compile this code as a module, choose M here: the | 
 | 132 | 	  module will be called sch_htb. | 
 | 133 |  | 
 | 134 | config NET_SCH_HFSC | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 135 | 	tristate "Hierarchical Fair Service Curve (HFSC)" | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 136 | 	---help--- | 
 | 137 | 	  Say Y here if you want to use the Hierarchical Fair Service Curve | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 138 | 	  (HFSC) packet scheduling algorithm. | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 139 |  | 
 | 140 | 	  To compile this code as a module, choose M here: the | 
 | 141 | 	  module will be called sch_hfsc. | 
 | 142 |  | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 143 | config NET_SCH_ATM | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 144 | 	tristate "ATM Virtual Circuits (ATM)" | 
| Roman Zippel | 05b8b0f | 2005-11-17 15:22:39 -0800 | [diff] [blame^] | 145 | 	depends on ATM | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 146 | 	---help--- | 
 | 147 | 	  Say Y here if you want to use the ATM pseudo-scheduler.  This | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 148 | 	  provides a framework for invoking classifiers, which in turn | 
 | 149 | 	  select classes of this queuing discipline.  Each class maps | 
 | 150 | 	  the flow(s) it is handling to a given virtual circuit. | 
 | 151 |  | 
 | 152 | 	  See the top of <file:net/sched/sch_atm.c>) for more details. | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 153 |  | 
 | 154 | 	  To compile this code as a module, choose M here: the | 
 | 155 | 	  module will be called sch_atm. | 
 | 156 |  | 
 | 157 | config NET_SCH_PRIO | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 158 | 	tristate "Multi Band Priority Queueing (PRIO)" | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 159 | 	---help--- | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 160 | 	  Say Y here if you want to use an n-band priority queue packet | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 161 | 	  scheduler. | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 162 |  | 
 | 163 | 	  To compile this code as a module, choose M here: the | 
 | 164 | 	  module will be called sch_prio. | 
 | 165 |  | 
 | 166 | config NET_SCH_RED | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 167 | 	tristate "Random Early Detection (RED)" | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 168 | 	---help--- | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 169 | 	  Say Y here if you want to use the Random Early Detection (RED) | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 170 | 	  packet scheduling algorithm. | 
 | 171 |  | 
 | 172 | 	  See the top of <file:net/sched/sch_red.c> for more details. | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 173 |  | 
 | 174 | 	  To compile this code as a module, choose M here: the | 
 | 175 | 	  module will be called sch_red. | 
 | 176 |  | 
 | 177 | config NET_SCH_SFQ | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 178 | 	tristate "Stochastic Fairness Queueing (SFQ)" | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 179 | 	---help--- | 
 | 180 | 	  Say Y here if you want to use the Stochastic Fairness Queueing (SFQ) | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 181 | 	  packet scheduling algorithm . | 
 | 182 |  | 
 | 183 | 	  See the top of <file:net/sched/sch_sfq.c> for more details. | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 184 |  | 
 | 185 | 	  To compile this code as a module, choose M here: the | 
 | 186 | 	  module will be called sch_sfq. | 
 | 187 |  | 
 | 188 | config NET_SCH_TEQL | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 189 | 	tristate "True Link Equalizer (TEQL)" | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 190 | 	---help--- | 
 | 191 | 	  Say Y here if you want to use the True Link Equalizer (TLE) packet | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 192 | 	  scheduling algorithm. This queueing discipline allows the combination | 
 | 193 | 	  of several physical devices into one virtual device. | 
 | 194 |  | 
 | 195 | 	  See the top of <file:net/sched/sch_teql.c> for more details. | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 196 |  | 
 | 197 | 	  To compile this code as a module, choose M here: the | 
 | 198 | 	  module will be called sch_teql. | 
 | 199 |  | 
 | 200 | config NET_SCH_TBF | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 201 | 	tristate "Token Bucket Filter (TBF)" | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 202 | 	---help--- | 
 | 203 | 	  Say Y here if you want to use the Token Bucket Filter (TBF) packet | 
 | 204 | 	  scheduling algorithm. | 
 | 205 |  | 
 | 206 | 	  See the top of <file:net/sched/sch_tbf.c> for more details. | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 207 |  | 
 | 208 | 	  To compile this code as a module, choose M here: the | 
 | 209 | 	  module will be called sch_tbf. | 
 | 210 |  | 
 | 211 | config NET_SCH_GRED | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 212 | 	tristate "Generic Random Early Detection (GRED)" | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 213 | 	---help--- | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 214 | 	  Say Y here if you want to use the Generic Random Early Detection | 
| Lucas Correia Villa Real | 20cc6be | 2005-05-03 14:34:20 -0700 | [diff] [blame] | 215 | 	  (GRED) packet scheduling algorithm for some of your network devices | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 216 | 	  (see the top of <file:net/sched/sch_red.c> for details and | 
 | 217 | 	  references about the algorithm). | 
 | 218 |  | 
 | 219 | 	  To compile this code as a module, choose M here: the | 
 | 220 | 	  module will be called sch_gred. | 
 | 221 |  | 
 | 222 | config NET_SCH_DSMARK | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 223 | 	tristate "Differentiated Services marker (DSMARK)" | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 224 | 	---help--- | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 225 | 	  Say Y if you want to schedule packets according to the | 
 | 226 | 	  Differentiated Services architecture proposed in RFC 2475. | 
 | 227 | 	  Technical information on this method, with pointers to associated | 
 | 228 | 	  RFCs, is available at <http://www.gta.ufrj.br/diffserv/>. | 
 | 229 |  | 
 | 230 | 	  To compile this code as a module, choose M here: the | 
 | 231 | 	  module will be called sch_dsmark. | 
 | 232 |  | 
 | 233 | config NET_SCH_NETEM | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 234 | 	tristate "Network emulator (NETEM)" | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 235 | 	---help--- | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 236 | 	  Say Y if you want to emulate network delay, loss, and packet | 
 | 237 | 	  re-ordering. This is often useful to simulate networks when | 
 | 238 | 	  testing applications or protocols. | 
 | 239 |  | 
 | 240 | 	  To compile this driver as a module, choose M here: the module | 
 | 241 | 	  will be called sch_netem. | 
 | 242 |  | 
 | 243 | 	  If unsure, say N. | 
 | 244 |  | 
 | 245 | config NET_SCH_INGRESS | 
 | 246 | 	tristate "Ingress Qdisc" | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 247 | 	---help--- | 
 | 248 | 	  Say Y here if you want to use classifiers for incoming packets. | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 249 | 	  If unsure, say Y. | 
 | 250 |  | 
 | 251 | 	  To compile this code as a module, choose M here: the | 
 | 252 | 	  module will be called sch_ingress. | 
 | 253 |  | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 254 | comment "Classification" | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 255 |  | 
 | 256 | config NET_CLS | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 257 | 	boolean | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 258 |  | 
 | 259 | config NET_CLS_BASIC | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 260 | 	tristate "Elementary classification (BASIC)" | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 261 | 	select NET_CLS | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 262 | 	---help--- | 
 | 263 | 	  Say Y here if you want to be able to classify packets using | 
 | 264 | 	  only extended matches and actions. | 
 | 265 |  | 
 | 266 | 	  To compile this code as a module, choose M here: the | 
 | 267 | 	  module will be called cls_basic. | 
 | 268 |  | 
 | 269 | config NET_CLS_TCINDEX | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 270 | 	tristate "Traffic-Control Index (TCINDEX)" | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 271 | 	select NET_CLS | 
 | 272 | 	---help--- | 
 | 273 | 	  Say Y here if you want to be able to classify packets based on | 
 | 274 | 	  traffic control indices. You will want this feature if you want | 
 | 275 | 	  to implement Differentiated Services together with DSMARK. | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 276 |  | 
 | 277 | 	  To compile this code as a module, choose M here: the | 
 | 278 | 	  module will be called cls_tcindex. | 
 | 279 |  | 
 | 280 | config NET_CLS_ROUTE4 | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 281 | 	tristate "Routing decision (ROUTE)" | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 282 | 	select NET_CLS_ROUTE | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 283 | 	select NET_CLS | 
 | 284 | 	---help--- | 
 | 285 | 	  If you say Y here, you will be able to classify packets | 
 | 286 | 	  according to the route table entry they matched. | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 287 |  | 
 | 288 | 	  To compile this code as a module, choose M here: the | 
 | 289 | 	  module will be called cls_route. | 
 | 290 |  | 
 | 291 | config NET_CLS_ROUTE | 
 | 292 | 	bool | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 293 |  | 
 | 294 | config NET_CLS_FW | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 295 | 	tristate "Netfilter mark (FW)" | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 296 | 	select NET_CLS | 
 | 297 | 	---help--- | 
 | 298 | 	  If you say Y here, you will be able to classify packets | 
 | 299 | 	  according to netfilter/firewall marks. | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 300 |  | 
 | 301 | 	  To compile this code as a module, choose M here: the | 
 | 302 | 	  module will be called cls_fw. | 
 | 303 |  | 
 | 304 | config NET_CLS_U32 | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 305 | 	tristate "Universal 32bit comparisons w/ hashing (U32)" | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 306 | 	select NET_CLS | 
 | 307 | 	---help--- | 
 | 308 | 	  Say Y here to be able to classify packetes using a universal | 
 | 309 | 	  32bit pieces based comparison scheme. | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 310 |  | 
 | 311 | 	  To compile this code as a module, choose M here: the | 
 | 312 | 	  module will be called cls_u32. | 
 | 313 |  | 
 | 314 | config CLS_U32_PERF | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 315 | 	bool "Performance counters support" | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 316 | 	depends on NET_CLS_U32 | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 317 | 	---help--- | 
 | 318 | 	  Say Y here to make u32 gather additional statistics useful for | 
 | 319 | 	  fine tuning u32 classifiers. | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 320 |  | 
 | 321 | config CLS_U32_MARK | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 322 | 	bool "Netfilter marks support" | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 323 | 	depends on NET_CLS_U32 && NETFILTER | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 324 | 	---help--- | 
 | 325 | 	  Say Y here to be able to use netfilter marks as u32 key. | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 326 |  | 
 | 327 | config NET_CLS_RSVP | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 328 | 	tristate "IPv4 Resource Reservation Protocol (RSVP)" | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 329 | 	select NET_CLS | 
 | 330 | 	select NET_ESTIMATOR | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 331 | 	---help--- | 
 | 332 | 	  The Resource Reservation Protocol (RSVP) permits end systems to | 
 | 333 | 	  request a minimum and maximum data flow rate for a connection; this | 
 | 334 | 	  is important for real time data such as streaming sound or video. | 
 | 335 |  | 
 | 336 | 	  Say Y here if you want to be able to classify outgoing packets based | 
 | 337 | 	  on their RSVP requests. | 
 | 338 |  | 
 | 339 | 	  To compile this code as a module, choose M here: the | 
 | 340 | 	  module will be called cls_rsvp. | 
 | 341 |  | 
 | 342 | config NET_CLS_RSVP6 | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 343 | 	tristate "IPv6 Resource Reservation Protocol (RSVP6)" | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 344 | 	select NET_CLS | 
 | 345 | 	select NET_ESTIMATOR | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 346 | 	---help--- | 
 | 347 | 	  The Resource Reservation Protocol (RSVP) permits end systems to | 
 | 348 | 	  request a minimum and maximum data flow rate for a connection; this | 
 | 349 | 	  is important for real time data such as streaming sound or video. | 
 | 350 |  | 
 | 351 | 	  Say Y here if you want to be able to classify outgoing packets based | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 352 | 	  on their RSVP requests and you are using the IPv6. | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 353 |  | 
 | 354 | 	  To compile this code as a module, choose M here: the | 
 | 355 | 	  module will be called cls_rsvp6. | 
 | 356 |  | 
 | 357 | config NET_EMATCH | 
 | 358 | 	bool "Extended Matches" | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 359 | 	select NET_CLS | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 360 | 	---help--- | 
 | 361 | 	  Say Y here if you want to use extended matches on top of classifiers | 
 | 362 | 	  and select the extended matches below. | 
 | 363 |  | 
 | 364 | 	  Extended matches are small classification helpers not worth writing | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 365 | 	  a separate classifier for. | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 366 |  | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 367 | 	  A recent version of the iproute2 package is required to use | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 368 | 	  extended matches. | 
 | 369 |  | 
 | 370 | config NET_EMATCH_STACK | 
 | 371 | 	int "Stack size" | 
 | 372 | 	depends on NET_EMATCH | 
 | 373 | 	default "32" | 
 | 374 | 	---help--- | 
 | 375 | 	  Size of the local stack variable used while evaluating the tree of | 
 | 376 | 	  ematches. Limits the depth of the tree, i.e. the number of | 
| Thomas Graf | b824979 | 2005-06-08 15:10:22 -0700 | [diff] [blame] | 377 | 	  encapsulated precedences. Every level requires 4 bytes of additional | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 378 | 	  stack space. | 
 | 379 |  | 
 | 380 | config NET_EMATCH_CMP | 
 | 381 | 	tristate "Simple packet data comparison" | 
 | 382 | 	depends on NET_EMATCH | 
 | 383 | 	---help--- | 
 | 384 | 	  Say Y here if you want to be able to classify packets based on | 
 | 385 | 	  simple packet data comparisons for 8, 16, and 32bit values. | 
 | 386 |  | 
 | 387 | 	  To compile this code as a module, choose M here: the | 
 | 388 | 	  module will be called em_cmp. | 
 | 389 |  | 
 | 390 | config NET_EMATCH_NBYTE | 
 | 391 | 	tristate "Multi byte comparison" | 
 | 392 | 	depends on NET_EMATCH | 
 | 393 | 	---help--- | 
 | 394 | 	  Say Y here if you want to be able to classify packets based on | 
 | 395 | 	  multiple byte comparisons mainly useful for IPv6 address comparisons. | 
 | 396 |  | 
 | 397 | 	  To compile this code as a module, choose M here: the | 
 | 398 | 	  module will be called em_nbyte. | 
 | 399 |  | 
 | 400 | config NET_EMATCH_U32 | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 401 | 	tristate "U32 key" | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 402 | 	depends on NET_EMATCH | 
 | 403 | 	---help--- | 
 | 404 | 	  Say Y here if you want to be able to classify packets using | 
 | 405 | 	  the famous u32 key in combination with logic relations. | 
 | 406 |  | 
 | 407 | 	  To compile this code as a module, choose M here: the | 
 | 408 | 	  module will be called em_u32. | 
 | 409 |  | 
 | 410 | config NET_EMATCH_META | 
 | 411 | 	tristate "Metadata" | 
 | 412 | 	depends on NET_EMATCH | 
 | 413 | 	---help--- | 
 | 414 | 	  Say Y here if you want to be ablt to classify packets based on | 
 | 415 | 	  metadata such as load average, netfilter attributes, socket | 
 | 416 | 	  attributes and routing decisions. | 
 | 417 |  | 
 | 418 | 	  To compile this code as a module, choose M here: the | 
 | 419 | 	  module will be called em_meta. | 
 | 420 |  | 
| Thomas Graf | d675c98 | 2005-06-23 21:00:58 -0700 | [diff] [blame] | 421 | config NET_EMATCH_TEXT | 
 | 422 | 	tristate "Textsearch" | 
 | 423 | 	depends on NET_EMATCH | 
| David S. Miller | f2d368f | 2005-06-23 23:55:41 -0700 | [diff] [blame] | 424 | 	select TEXTSEARCH | 
| David S. Miller | f770434 | 2005-06-24 17:39:03 -0700 | [diff] [blame] | 425 | 	select TEXTSEARCH_KMP | 
| David S. Miller | 29cb9f9 | 2005-08-25 16:23:11 -0700 | [diff] [blame] | 426 | 	select TEXTSEARCH_BM | 
| David S. Miller | f770434 | 2005-06-24 17:39:03 -0700 | [diff] [blame] | 427 | 	select TEXTSEARCH_FSM | 
| Thomas Graf | d675c98 | 2005-06-23 21:00:58 -0700 | [diff] [blame] | 428 | 	---help--- | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 429 | 	  Say Y here if you want to be able to classify packets based on | 
| David S. Miller | f770434 | 2005-06-24 17:39:03 -0700 | [diff] [blame] | 430 | 	  textsearch comparisons. | 
| Thomas Graf | d675c98 | 2005-06-23 21:00:58 -0700 | [diff] [blame] | 431 |  | 
 | 432 | 	  To compile this code as a module, choose M here: the | 
 | 433 | 	  module will be called em_text. | 
 | 434 |  | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 435 | config NET_CLS_ACT | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 436 | 	bool "Actions" | 
| Roman Zippel | 05b8b0f | 2005-11-17 15:22:39 -0800 | [diff] [blame^] | 437 | 	depends on EXPERIMENTAL | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 438 | 	select NET_ESTIMATOR | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 439 | 	---help--- | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 440 | 	  Say Y here if you want to use traffic control actions. Actions | 
 | 441 | 	  get attached to classifiers and are invoked after a successful | 
 | 442 | 	  classification. They are used to overwrite the classification | 
 | 443 | 	  result, instantly drop or redirect packets, etc. | 
 | 444 |  | 
 | 445 | 	  A recent version of the iproute2 package is required to use | 
 | 446 | 	  extended matches. | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 447 |  | 
 | 448 | config NET_ACT_POLICE | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 449 | 	tristate "Traffic Policing" | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 450 |         depends on NET_CLS_ACT  | 
 | 451 |         ---help--- | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 452 | 	  Say Y here if you want to do traffic policing, i.e. strict | 
 | 453 | 	  bandwidth limiting. This action replaces the existing policing | 
 | 454 | 	  module. | 
 | 455 |  | 
 | 456 | 	  To compile this code as a module, choose M here: the | 
 | 457 | 	  module will be called police. | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 458 |  | 
 | 459 | config NET_ACT_GACT | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 460 |         tristate "Generic actions" | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 461 |         depends on NET_CLS_ACT | 
 | 462 |         ---help--- | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 463 | 	  Say Y here to take generic actions such as dropping and | 
 | 464 | 	  accepting packets. | 
 | 465 |  | 
 | 466 | 	  To compile this code as a module, choose M here: the | 
 | 467 | 	  module will be called gact. | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 468 |  | 
 | 469 | config GACT_PROB | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 470 |         bool "Probability support" | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 471 |         depends on NET_ACT_GACT | 
 | 472 |         ---help--- | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 473 | 	  Say Y here to use the generic action randomly or deterministically. | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 474 |  | 
 | 475 | config NET_ACT_MIRRED | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 476 |         tristate "Redirecting and Mirroring" | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 477 |         depends on NET_CLS_ACT | 
 | 478 |         ---help--- | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 479 | 	  Say Y here to allow packets to be mirrored or redirected to | 
 | 480 | 	  other devices. | 
 | 481 |  | 
 | 482 | 	  To compile this code as a module, choose M here: the | 
 | 483 | 	  module will be called mirred. | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 484 |  | 
 | 485 | config NET_ACT_IPT | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 486 |         tristate "IPtables targets" | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 487 |         depends on NET_CLS_ACT && NETFILTER && IP_NF_IPTABLES | 
 | 488 |         ---help--- | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 489 | 	  Say Y here to be able to invoke iptables targets after succesful | 
 | 490 | 	  classification. | 
 | 491 |  | 
 | 492 | 	  To compile this code as a module, choose M here: the | 
 | 493 | 	  module will be called ipt. | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 494 |  | 
 | 495 | config NET_ACT_PEDIT | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 496 |         tristate "Packet Editing" | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 497 |         depends on NET_CLS_ACT | 
 | 498 |         ---help--- | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 499 | 	  Say Y here if you want to mangle the content of packets. | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 500 |  | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 501 | 	  To compile this code as a module, choose M here: the | 
 | 502 | 	  module will be called pedit. | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 503 |  | 
| Jamal Hadi Salim | db75307 | 2005-04-24 20:10:16 -0700 | [diff] [blame] | 504 | config NET_ACT_SIMP | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 505 |         tristate "Simple Example (Debug)" | 
| Jamal Hadi Salim | db75307 | 2005-04-24 20:10:16 -0700 | [diff] [blame] | 506 |         depends on NET_CLS_ACT | 
 | 507 |         ---help--- | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 508 | 	  Say Y here to add a simple action for demonstration purposes. | 
 | 509 | 	  It is meant as an example and for debugging purposes. It will | 
 | 510 | 	  print a configured policy string followed by the packet count | 
 | 511 | 	  to the console for every packet that passes by. | 
| Jamal Hadi Salim | db75307 | 2005-04-24 20:10:16 -0700 | [diff] [blame] | 512 |  | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 513 | 	  If unsure, say N. | 
 | 514 |  | 
 | 515 | 	  To compile this code as a module, choose M here: the | 
 | 516 | 	  module will be called simple. | 
 | 517 |  | 
 | 518 | config NET_CLS_POLICE | 
 | 519 | 	bool "Traffic Policing (obsolete)" | 
| Roman Zippel | 05b8b0f | 2005-11-17 15:22:39 -0800 | [diff] [blame^] | 520 | 	depends on NET_CLS_ACT!=y | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 521 | 	select NET_ESTIMATOR | 
 | 522 | 	---help--- | 
 | 523 | 	  Say Y here if you want to do traffic policing, i.e. strict | 
 | 524 | 	  bandwidth limiting. This option is obsoleted by the traffic | 
 | 525 | 	  policer implemented as action, it stays here for compatibility | 
 | 526 | 	  reasons. | 
 | 527 |  | 
 | 528 | config NET_CLS_IND | 
 | 529 | 	bool "Incoming device classification" | 
| Roman Zippel | 05b8b0f | 2005-11-17 15:22:39 -0800 | [diff] [blame^] | 530 | 	depends on NET_CLS_U32 || NET_CLS_FW | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 531 | 	---help--- | 
 | 532 | 	  Say Y here to extend the u32 and fw classifier to support | 
 | 533 | 	  classification based on the incoming device. This option is | 
 | 534 | 	  likely to disappear in favour of the metadata ematch. | 
 | 535 |  | 
 | 536 | config NET_ESTIMATOR | 
 | 537 | 	bool "Rate estimator" | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 538 | 	---help--- | 
 | 539 | 	  Say Y here to allow using rate estimators to estimate the current | 
 | 540 | 	  rate-of-flow for network devices, queues, etc. This module is | 
 | 541 | 	  automaticaly selected if needed but can be selected manually for | 
 | 542 | 	  statstical purposes. | 
 | 543 |  | 
| Roman Zippel | 05b8b0f | 2005-11-17 15:22:39 -0800 | [diff] [blame^] | 544 | endif # NET_SCHED | 
 | 545 |  | 
| Thomas Graf | 52ab4ac | 2005-11-01 15:13:02 +0100 | [diff] [blame] | 546 | endmenu |