xref: /linux/net/sched/Kconfig (revision 52ab4ac258ff10a362d78a3f8160a7c4d0721b51)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# Traffic control configuration.
31da177e4SLinus Torvalds#
46a2e9b73SSam Ravnborg
5*52ab4ac2SThomas Grafmenu "QoS and/or fair queueing"
6*52ab4ac2SThomas Graf
7*52ab4ac2SThomas Grafconfig NET_SCHED
86a2e9b73SSam Ravnborg	bool "QoS and/or fair queueing"
96a2e9b73SSam Ravnborg	---help---
106a2e9b73SSam Ravnborg	  When the kernel has several packets to send out over a network
116a2e9b73SSam Ravnborg	  device, it has to decide which ones to send first, which ones to
12*52ab4ac2SThomas Graf	  delay, and which ones to drop. This is the job of the queueing
13*52ab4ac2SThomas Graf	  disciplines, several different algorithms for how to do this
146a2e9b73SSam Ravnborg	  "fairly" have been proposed.
156a2e9b73SSam Ravnborg
166a2e9b73SSam Ravnborg	  If you say N here, you will get the standard packet scheduler, which
176a2e9b73SSam Ravnborg	  is a FIFO (first come, first served). If you say Y here, you will be
186a2e9b73SSam Ravnborg	  able to choose from among several alternative algorithms which can
196a2e9b73SSam Ravnborg	  then be attached to different network devices. This is useful for
206a2e9b73SSam Ravnborg	  example if some of your network devices are real time devices that
216a2e9b73SSam Ravnborg	  need a certain minimum data flow rate, or if you need to limit the
226a2e9b73SSam Ravnborg	  maximum data flow rate for traffic which matches specified criteria.
236a2e9b73SSam Ravnborg	  This code is considered to be experimental.
246a2e9b73SSam Ravnborg
256a2e9b73SSam Ravnborg	  To administer these schedulers, you'll need the user-level utilities
266a2e9b73SSam Ravnborg	  from the package iproute2+tc at <ftp://ftp.tux.org/pub/net/ip-routing/>.
276a2e9b73SSam Ravnborg	  That package also contains some documentation; for more, check out
28*52ab4ac2SThomas Graf	  <http://linux-net.osdl.org/index.php/Iproute2>.
296a2e9b73SSam Ravnborg
306a2e9b73SSam Ravnborg	  This Quality of Service (QoS) support will enable you to use
316a2e9b73SSam Ravnborg	  Differentiated Services (diffserv) and Resource Reservation Protocol
32*52ab4ac2SThomas Graf	  (RSVP) on your Linux router if you also say Y to the corresponding
33*52ab4ac2SThomas Graf	  classifiers below.  Documentation and software is at
34*52ab4ac2SThomas Graf	  <http://diffserv.sourceforge.net/>.
356a2e9b73SSam Ravnborg
366a2e9b73SSam Ravnborg	  If you say Y here and to "/proc file system" below, you will be able
376a2e9b73SSam Ravnborg	  to read status information about packet schedulers from the file
386a2e9b73SSam Ravnborg	  /proc/net/psched.
396a2e9b73SSam Ravnborg
406a2e9b73SSam Ravnborg	  The available schedulers are listed in the following questions; you
416a2e9b73SSam Ravnborg	  can say Y to as many as you like. If unsure, say N now.
426a2e9b73SSam Ravnborg
431da177e4SLinus Torvaldschoice
441da177e4SLinus Torvalds	prompt "Packet scheduler clock source"
451da177e4SLinus Torvalds	depends on NET_SCHED
461da177e4SLinus Torvalds	default NET_SCH_CLK_JIFFIES
47*52ab4ac2SThomas Graf	---help---
481da177e4SLinus Torvalds	  Packet schedulers need a monotonic clock that increments at a static
491da177e4SLinus Torvalds	  rate. The kernel provides several suitable interfaces, each with
501da177e4SLinus Torvalds	  different properties:
511da177e4SLinus Torvalds
521da177e4SLinus Torvalds	  - high resolution (us or better)
531da177e4SLinus Torvalds	  - fast to read (minimal locking, no i/o access)
541da177e4SLinus Torvalds	  - synchronized on all processors
551da177e4SLinus Torvalds	  - handles cpu clock frequency changes
561da177e4SLinus Torvalds
571da177e4SLinus Torvalds	  but nothing provides all of the above.
581da177e4SLinus Torvalds
591da177e4SLinus Torvaldsconfig NET_SCH_CLK_JIFFIES
601da177e4SLinus Torvalds	bool "Timer interrupt"
61*52ab4ac2SThomas Graf	---help---
621da177e4SLinus Torvalds	  Say Y here if you want to use the timer interrupt (jiffies) as clock
631da177e4SLinus Torvalds	  source. This clock source is fast, synchronized on all processors and
641da177e4SLinus Torvalds	  handles cpu clock frequency changes, but its resolution is too low
651da177e4SLinus Torvalds	  for accurate shaping except at very low speed.
661da177e4SLinus Torvalds
671da177e4SLinus Torvaldsconfig NET_SCH_CLK_GETTIMEOFDAY
681da177e4SLinus Torvalds	bool "gettimeofday"
69*52ab4ac2SThomas Graf	---help---
701da177e4SLinus Torvalds	  Say Y here if you want to use gettimeofday as clock source. This clock
711da177e4SLinus Torvalds	  source has high resolution, is synchronized on all processors and
721da177e4SLinus Torvalds	  handles cpu clock frequency changes, but it is slow.
731da177e4SLinus Torvalds
741da177e4SLinus Torvalds	  Choose this if you need a high resolution clock source but can't use
751da177e4SLinus Torvalds	  the CPU's cycle counter.
761da177e4SLinus Torvalds
7734cb711bSAndi Kleen# don't allow on SMP x86 because they can have unsynchronized TSCs.
7834cb711bSAndi Kleen# gettimeofday is a good alternative
791da177e4SLinus Torvaldsconfig NET_SCH_CLK_CPU
801da177e4SLinus Torvalds	bool "CPU cycle counter"
8134cb711bSAndi Kleen	depends on ((X86_TSC || X86_64) && !SMP) || ALPHA || SPARC64 || PPC64 || IA64
82*52ab4ac2SThomas Graf	---help---
831da177e4SLinus Torvalds	  Say Y here if you want to use the CPU's cycle counter as clock source.
841da177e4SLinus Torvalds	  This is a cheap and high resolution clock source, but on some
851da177e4SLinus Torvalds	  architectures it is not synchronized on all processors and doesn't
861da177e4SLinus Torvalds	  handle cpu clock frequency changes.
871da177e4SLinus Torvalds
881da177e4SLinus Torvalds	  The useable cycle counters are:
891da177e4SLinus Torvalds
901da177e4SLinus Torvalds	  	x86/x86_64	- Timestamp Counter
911da177e4SLinus Torvalds		alpha		- Cycle Counter
921da177e4SLinus Torvalds		sparc64		- %ticks register
931da177e4SLinus Torvalds		ppc64		- Time base
941da177e4SLinus Torvalds		ia64		- Interval Time Counter
951da177e4SLinus Torvalds
961da177e4SLinus Torvalds	  Choose this if your CPU's cycle counter is working properly.
971da177e4SLinus Torvalds
981da177e4SLinus Torvaldsendchoice
991da177e4SLinus Torvalds
100*52ab4ac2SThomas Grafcomment "Queueing/Scheduling"
101*52ab4ac2SThomas Graf	depends on NET_SCHED
102*52ab4ac2SThomas Graf
1031da177e4SLinus Torvaldsconfig NET_SCH_CBQ
104*52ab4ac2SThomas Graf	tristate "Class Based Queueing (CBQ)"
1051da177e4SLinus Torvalds	depends on NET_SCHED
1061da177e4SLinus Torvalds	---help---
1071da177e4SLinus Torvalds	  Say Y here if you want to use the Class-Based Queueing (CBQ) packet
108*52ab4ac2SThomas Graf	  scheduling algorithm. This algorithm classifies the waiting packets
109*52ab4ac2SThomas Graf	  into a tree-like hierarchy of classes; the leaves of this tree are
110*52ab4ac2SThomas Graf	  in turn scheduled by separate algorithms.
1111da177e4SLinus Torvalds
112*52ab4ac2SThomas Graf	  See the top of <file:net/sched/sch_cbq.c> for more details.
1131da177e4SLinus Torvalds
1141da177e4SLinus Torvalds	  CBQ is a commonly used scheduler, so if you're unsure, you should
1151da177e4SLinus Torvalds	  say Y here. Then say Y to all the queueing algorithms below that you
116*52ab4ac2SThomas Graf	  want to use as leaf disciplines.
1171da177e4SLinus Torvalds
1181da177e4SLinus Torvalds	  To compile this code as a module, choose M here: the
1191da177e4SLinus Torvalds	  module will be called sch_cbq.
1201da177e4SLinus Torvalds
1211da177e4SLinus Torvaldsconfig NET_SCH_HTB
122*52ab4ac2SThomas Graf	tristate "Hierarchical Token Bucket (HTB)"
1231da177e4SLinus Torvalds	depends on NET_SCHED
1241da177e4SLinus Torvalds	---help---
1251da177e4SLinus Torvalds	  Say Y here if you want to use the Hierarchical Token Buckets (HTB)
126*52ab4ac2SThomas Graf	  packet scheduling algorithm. See
1271da177e4SLinus Torvalds	  <http://luxik.cdi.cz/~devik/qos/htb/> for complete manual and
1281da177e4SLinus Torvalds	  in-depth articles.
1291da177e4SLinus Torvalds
130*52ab4ac2SThomas Graf	  HTB is very similar to CBQ regarding its goals however is has
1311da177e4SLinus Torvalds	  different properties and different algorithm.
1321da177e4SLinus Torvalds
1331da177e4SLinus Torvalds	  To compile this code as a module, choose M here: the
1341da177e4SLinus Torvalds	  module will be called sch_htb.
1351da177e4SLinus Torvalds
1361da177e4SLinus Torvaldsconfig NET_SCH_HFSC
137*52ab4ac2SThomas Graf	tristate "Hierarchical Fair Service Curve (HFSC)"
1381da177e4SLinus Torvalds	depends on NET_SCHED
1391da177e4SLinus Torvalds	---help---
1401da177e4SLinus Torvalds	  Say Y here if you want to use the Hierarchical Fair Service Curve
141*52ab4ac2SThomas Graf	  (HFSC) packet scheduling algorithm.
1421da177e4SLinus Torvalds
1431da177e4SLinus Torvalds	  To compile this code as a module, choose M here: the
1441da177e4SLinus Torvalds	  module will be called sch_hfsc.
1451da177e4SLinus Torvalds
1461da177e4SLinus Torvaldsconfig NET_SCH_ATM
147*52ab4ac2SThomas Graf	tristate "ATM Virtual Circuits (ATM)"
1481da177e4SLinus Torvalds	depends on NET_SCHED && ATM
1491da177e4SLinus Torvalds	---help---
1501da177e4SLinus Torvalds	  Say Y here if you want to use the ATM pseudo-scheduler.  This
151*52ab4ac2SThomas Graf	  provides a framework for invoking classifiers, which in turn
152*52ab4ac2SThomas Graf	  select classes of this queuing discipline.  Each class maps
153*52ab4ac2SThomas Graf	  the flow(s) it is handling to a given virtual circuit.
154*52ab4ac2SThomas Graf
155*52ab4ac2SThomas Graf	  See the top of <file:net/sched/sch_atm.c>) for more details.
1561da177e4SLinus Torvalds
1571da177e4SLinus Torvalds	  To compile this code as a module, choose M here: the
1581da177e4SLinus Torvalds	  module will be called sch_atm.
1591da177e4SLinus Torvalds
1601da177e4SLinus Torvaldsconfig NET_SCH_PRIO
161*52ab4ac2SThomas Graf	tristate "Multi Band Priority Queueing (PRIO)"
1621da177e4SLinus Torvalds	depends on NET_SCHED
163*52ab4ac2SThomas Graf	---help---
1641da177e4SLinus Torvalds	  Say Y here if you want to use an n-band priority queue packet
165*52ab4ac2SThomas Graf	  scheduler.
1661da177e4SLinus Torvalds
1671da177e4SLinus Torvalds	  To compile this code as a module, choose M here: the
1681da177e4SLinus Torvalds	  module will be called sch_prio.
1691da177e4SLinus Torvalds
1701da177e4SLinus Torvaldsconfig NET_SCH_RED
171*52ab4ac2SThomas Graf	tristate "Random Early Detection (RED)"
1721da177e4SLinus Torvalds	depends on NET_SCHED
173*52ab4ac2SThomas Graf	---help---
1741da177e4SLinus Torvalds	  Say Y here if you want to use the Random Early Detection (RED)
175*52ab4ac2SThomas Graf	  packet scheduling algorithm.
176*52ab4ac2SThomas Graf
177*52ab4ac2SThomas Graf	  See the top of <file:net/sched/sch_red.c> for more details.
1781da177e4SLinus Torvalds
1791da177e4SLinus Torvalds	  To compile this code as a module, choose M here: the
1801da177e4SLinus Torvalds	  module will be called sch_red.
1811da177e4SLinus Torvalds
1821da177e4SLinus Torvaldsconfig NET_SCH_SFQ
183*52ab4ac2SThomas Graf	tristate "Stochastic Fairness Queueing (SFQ)"
1841da177e4SLinus Torvalds	depends on NET_SCHED
1851da177e4SLinus Torvalds	---help---
1861da177e4SLinus Torvalds	  Say Y here if you want to use the Stochastic Fairness Queueing (SFQ)
187*52ab4ac2SThomas Graf	  packet scheduling algorithm .
188*52ab4ac2SThomas Graf
189*52ab4ac2SThomas Graf	  See the top of <file:net/sched/sch_sfq.c> for more details.
1901da177e4SLinus Torvalds
1911da177e4SLinus Torvalds	  To compile this code as a module, choose M here: the
1921da177e4SLinus Torvalds	  module will be called sch_sfq.
1931da177e4SLinus Torvalds
1941da177e4SLinus Torvaldsconfig NET_SCH_TEQL
195*52ab4ac2SThomas Graf	tristate "True Link Equalizer (TEQL)"
1961da177e4SLinus Torvalds	depends on NET_SCHED
1971da177e4SLinus Torvalds	---help---
1981da177e4SLinus Torvalds	  Say Y here if you want to use the True Link Equalizer (TLE) packet
199*52ab4ac2SThomas Graf	  scheduling algorithm. This queueing discipline allows the combination
200*52ab4ac2SThomas Graf	  of several physical devices into one virtual device.
201*52ab4ac2SThomas Graf
202*52ab4ac2SThomas Graf	  See the top of <file:net/sched/sch_teql.c> for more details.
2031da177e4SLinus Torvalds
2041da177e4SLinus Torvalds	  To compile this code as a module, choose M here: the
2051da177e4SLinus Torvalds	  module will be called sch_teql.
2061da177e4SLinus Torvalds
2071da177e4SLinus Torvaldsconfig NET_SCH_TBF
208*52ab4ac2SThomas Graf	tristate "Token Bucket Filter (TBF)"
2091da177e4SLinus Torvalds	depends on NET_SCHED
210*52ab4ac2SThomas Graf	---help---
211*52ab4ac2SThomas Graf	  Say Y here if you want to use the Token Bucket Filter (TBF) packet
212*52ab4ac2SThomas Graf	  scheduling algorithm.
213*52ab4ac2SThomas Graf
214*52ab4ac2SThomas Graf	  See the top of <file:net/sched/sch_tbf.c> for more details.
2151da177e4SLinus Torvalds
2161da177e4SLinus Torvalds	  To compile this code as a module, choose M here: the
2171da177e4SLinus Torvalds	  module will be called sch_tbf.
2181da177e4SLinus Torvalds
2191da177e4SLinus Torvaldsconfig NET_SCH_GRED
220*52ab4ac2SThomas Graf	tristate "Generic Random Early Detection (GRED)"
2211da177e4SLinus Torvalds	depends on NET_SCHED
222*52ab4ac2SThomas Graf	---help---
2231da177e4SLinus Torvalds	  Say Y here if you want to use the Generic Random Early Detection
22420cc6befSLucas Correia Villa Real	  (GRED) packet scheduling algorithm for some of your network devices
2251da177e4SLinus Torvalds	  (see the top of <file:net/sched/sch_red.c> for details and
2261da177e4SLinus Torvalds	  references about the algorithm).
2271da177e4SLinus Torvalds
2281da177e4SLinus Torvalds	  To compile this code as a module, choose M here: the
2291da177e4SLinus Torvalds	  module will be called sch_gred.
2301da177e4SLinus Torvalds
2311da177e4SLinus Torvaldsconfig NET_SCH_DSMARK
232*52ab4ac2SThomas Graf	tristate "Differentiated Services marker (DSMARK)"
2331da177e4SLinus Torvalds	depends on NET_SCHED
234*52ab4ac2SThomas Graf	---help---
2351da177e4SLinus Torvalds	  Say Y if you want to schedule packets according to the
2361da177e4SLinus Torvalds	  Differentiated Services architecture proposed in RFC 2475.
2371da177e4SLinus Torvalds	  Technical information on this method, with pointers to associated
2381da177e4SLinus Torvalds	  RFCs, is available at <http://www.gta.ufrj.br/diffserv/>.
2391da177e4SLinus Torvalds
2401da177e4SLinus Torvalds	  To compile this code as a module, choose M here: the
2411da177e4SLinus Torvalds	  module will be called sch_dsmark.
2421da177e4SLinus Torvalds
2431da177e4SLinus Torvaldsconfig NET_SCH_NETEM
244*52ab4ac2SThomas Graf	tristate "Network emulator (NETEM)"
2451da177e4SLinus Torvalds	depends on NET_SCHED
246*52ab4ac2SThomas Graf	---help---
2471da177e4SLinus Torvalds	  Say Y if you want to emulate network delay, loss, and packet
2481da177e4SLinus Torvalds	  re-ordering. This is often useful to simulate networks when
2491da177e4SLinus Torvalds	  testing applications or protocols.
2501da177e4SLinus Torvalds
2511da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the module
2521da177e4SLinus Torvalds	  will be called sch_netem.
2531da177e4SLinus Torvalds
2541da177e4SLinus Torvalds	  If unsure, say N.
2551da177e4SLinus Torvalds
2561da177e4SLinus Torvaldsconfig NET_SCH_INGRESS
2571da177e4SLinus Torvalds	tristate "Ingress Qdisc"
2581da177e4SLinus Torvalds	depends on NET_SCHED
259*52ab4ac2SThomas Graf	---help---
260*52ab4ac2SThomas Graf	  Say Y here if you want to use classifiers for incoming packets.
2611da177e4SLinus Torvalds	  If unsure, say Y.
2621da177e4SLinus Torvalds
2631da177e4SLinus Torvalds	  To compile this code as a module, choose M here: the
2641da177e4SLinus Torvalds	  module will be called sch_ingress.
2651da177e4SLinus Torvalds
266*52ab4ac2SThomas Grafcomment "Classification"
2671da177e4SLinus Torvalds	depends on NET_SCHED
2681da177e4SLinus Torvalds
2691da177e4SLinus Torvaldsconfig NET_CLS
270*52ab4ac2SThomas Graf	boolean
2711da177e4SLinus Torvalds
2721da177e4SLinus Torvaldsconfig NET_CLS_BASIC
273*52ab4ac2SThomas Graf	tristate "Elementary classification (BASIC)"
274*52ab4ac2SThomas Graf	depends NET_SCHED
275*52ab4ac2SThomas Graf	select NET_CLS
2761da177e4SLinus Torvalds	---help---
2771da177e4SLinus Torvalds	  Say Y here if you want to be able to classify packets using
2781da177e4SLinus Torvalds	  only extended matches and actions.
2791da177e4SLinus Torvalds
2801da177e4SLinus Torvalds	  To compile this code as a module, choose M here: the
2811da177e4SLinus Torvalds	  module will be called cls_basic.
2821da177e4SLinus Torvalds
2831da177e4SLinus Torvaldsconfig NET_CLS_TCINDEX
284*52ab4ac2SThomas Graf	tristate "Traffic-Control Index (TCINDEX)"
285*52ab4ac2SThomas Graf	depends NET_SCHED
286*52ab4ac2SThomas Graf	select NET_CLS
287*52ab4ac2SThomas Graf	---help---
288*52ab4ac2SThomas Graf	  Say Y here if you want to be able to classify packets based on
289*52ab4ac2SThomas Graf	  traffic control indices. You will want this feature if you want
290*52ab4ac2SThomas Graf	  to implement Differentiated Services together with DSMARK.
2911da177e4SLinus Torvalds
2921da177e4SLinus Torvalds	  To compile this code as a module, choose M here: the
2931da177e4SLinus Torvalds	  module will be called cls_tcindex.
2941da177e4SLinus Torvalds
2951da177e4SLinus Torvaldsconfig NET_CLS_ROUTE4
296*52ab4ac2SThomas Graf	tristate "Routing decision (ROUTE)"
297*52ab4ac2SThomas Graf	depends NET_SCHED
2981da177e4SLinus Torvalds	select NET_CLS_ROUTE
299*52ab4ac2SThomas Graf	select NET_CLS
300*52ab4ac2SThomas Graf	---help---
301*52ab4ac2SThomas Graf	  If you say Y here, you will be able to classify packets
302*52ab4ac2SThomas Graf	  according to the route table entry they matched.
3031da177e4SLinus Torvalds
3041da177e4SLinus Torvalds	  To compile this code as a module, choose M here: the
3051da177e4SLinus Torvalds	  module will be called cls_route.
3061da177e4SLinus Torvalds
3071da177e4SLinus Torvaldsconfig NET_CLS_ROUTE
3081da177e4SLinus Torvalds	bool
3091da177e4SLinus Torvalds	default n
3101da177e4SLinus Torvalds
3111da177e4SLinus Torvaldsconfig NET_CLS_FW
312*52ab4ac2SThomas Graf	tristate "Netfilter mark (FW)"
313*52ab4ac2SThomas Graf	depends NET_SCHED
314*52ab4ac2SThomas Graf	select NET_CLS
315*52ab4ac2SThomas Graf	---help---
316*52ab4ac2SThomas Graf	  If you say Y here, you will be able to classify packets
317*52ab4ac2SThomas Graf	  according to netfilter/firewall marks.
3181da177e4SLinus Torvalds
3191da177e4SLinus Torvalds	  To compile this code as a module, choose M here: the
3201da177e4SLinus Torvalds	  module will be called cls_fw.
3211da177e4SLinus Torvalds
3221da177e4SLinus Torvaldsconfig NET_CLS_U32
323*52ab4ac2SThomas Graf	tristate "Universal 32bit comparisons w/ hashing (U32)"
324*52ab4ac2SThomas Graf	depends NET_SCHED
325*52ab4ac2SThomas Graf	select NET_CLS
326*52ab4ac2SThomas Graf	---help---
327*52ab4ac2SThomas Graf	  Say Y here to be able to classify packetes using a universal
328*52ab4ac2SThomas Graf	  32bit pieces based comparison scheme.
3291da177e4SLinus Torvalds
3301da177e4SLinus Torvalds	  To compile this code as a module, choose M here: the
3311da177e4SLinus Torvalds	  module will be called cls_u32.
3321da177e4SLinus Torvalds
3331da177e4SLinus Torvaldsconfig CLS_U32_PERF
334*52ab4ac2SThomas Graf	bool "Performance counters support"
3351da177e4SLinus Torvalds	depends on NET_CLS_U32
336*52ab4ac2SThomas Graf	---help---
337*52ab4ac2SThomas Graf	  Say Y here to make u32 gather additional statistics useful for
338*52ab4ac2SThomas Graf	  fine tuning u32 classifiers.
3391da177e4SLinus Torvalds
3401da177e4SLinus Torvaldsconfig CLS_U32_MARK
341*52ab4ac2SThomas Graf	bool "Netfilter marks support"
3421da177e4SLinus Torvalds	depends on NET_CLS_U32 && NETFILTER
343*52ab4ac2SThomas Graf	---help---
344*52ab4ac2SThomas Graf	  Say Y here to be able to use netfilter marks as u32 key.
3451da177e4SLinus Torvalds
3461da177e4SLinus Torvaldsconfig NET_CLS_RSVP
347*52ab4ac2SThomas Graf	tristate "IPv4 Resource Reservation Protocol (RSVP)"
348*52ab4ac2SThomas Graf	depends on NET_SCHED
349*52ab4ac2SThomas Graf	select NET_CLS
350*52ab4ac2SThomas Graf	select NET_ESTIMATOR
3511da177e4SLinus Torvalds	---help---
3521da177e4SLinus Torvalds	  The Resource Reservation Protocol (RSVP) permits end systems to
3531da177e4SLinus Torvalds	  request a minimum and maximum data flow rate for a connection; this
3541da177e4SLinus Torvalds	  is important for real time data such as streaming sound or video.
3551da177e4SLinus Torvalds
3561da177e4SLinus Torvalds	  Say Y here if you want to be able to classify outgoing packets based
3571da177e4SLinus Torvalds	  on their RSVP requests.
3581da177e4SLinus Torvalds
3591da177e4SLinus Torvalds	  To compile this code as a module, choose M here: the
3601da177e4SLinus Torvalds	  module will be called cls_rsvp.
3611da177e4SLinus Torvalds
3621da177e4SLinus Torvaldsconfig NET_CLS_RSVP6
363*52ab4ac2SThomas Graf	tristate "IPv6 Resource Reservation Protocol (RSVP6)"
364*52ab4ac2SThomas Graf	depends on NET_SCHED
365*52ab4ac2SThomas Graf	select NET_CLS
366*52ab4ac2SThomas Graf	select NET_ESTIMATOR
3671da177e4SLinus Torvalds	---help---
3681da177e4SLinus Torvalds	  The Resource Reservation Protocol (RSVP) permits end systems to
3691da177e4SLinus Torvalds	  request a minimum and maximum data flow rate for a connection; this
3701da177e4SLinus Torvalds	  is important for real time data such as streaming sound or video.
3711da177e4SLinus Torvalds
3721da177e4SLinus Torvalds	  Say Y here if you want to be able to classify outgoing packets based
373*52ab4ac2SThomas Graf	  on their RSVP requests and you are using the IPv6.
3741da177e4SLinus Torvalds
3751da177e4SLinus Torvalds	  To compile this code as a module, choose M here: the
3761da177e4SLinus Torvalds	  module will be called cls_rsvp6.
3771da177e4SLinus Torvalds
3781da177e4SLinus Torvaldsconfig NET_EMATCH
3791da177e4SLinus Torvalds	bool "Extended Matches"
380*52ab4ac2SThomas Graf	depends NET_SCHED
381*52ab4ac2SThomas Graf	select NET_CLS
3821da177e4SLinus Torvalds	---help---
3831da177e4SLinus Torvalds	  Say Y here if you want to use extended matches on top of classifiers
3841da177e4SLinus Torvalds	  and select the extended matches below.
3851da177e4SLinus Torvalds
3861da177e4SLinus Torvalds	  Extended matches are small classification helpers not worth writing
387*52ab4ac2SThomas Graf	  a separate classifier for.
3881da177e4SLinus Torvalds
389*52ab4ac2SThomas Graf	  A recent version of the iproute2 package is required to use
3901da177e4SLinus Torvalds	  extended matches.
3911da177e4SLinus Torvalds
3921da177e4SLinus Torvaldsconfig NET_EMATCH_STACK
3931da177e4SLinus Torvalds	int "Stack size"
3941da177e4SLinus Torvalds	depends on NET_EMATCH
3951da177e4SLinus Torvalds	default "32"
3961da177e4SLinus Torvalds	---help---
3971da177e4SLinus Torvalds	  Size of the local stack variable used while evaluating the tree of
3981da177e4SLinus Torvalds	  ematches. Limits the depth of the tree, i.e. the number of
399b824979aSThomas Graf	  encapsulated precedences. Every level requires 4 bytes of additional
4001da177e4SLinus Torvalds	  stack space.
4011da177e4SLinus Torvalds
4021da177e4SLinus Torvaldsconfig NET_EMATCH_CMP
4031da177e4SLinus Torvalds	tristate "Simple packet data comparison"
4041da177e4SLinus Torvalds	depends on NET_EMATCH
4051da177e4SLinus Torvalds	---help---
4061da177e4SLinus Torvalds	  Say Y here if you want to be able to classify packets based on
4071da177e4SLinus Torvalds	  simple packet data comparisons for 8, 16, and 32bit values.
4081da177e4SLinus Torvalds
4091da177e4SLinus Torvalds	  To compile this code as a module, choose M here: the
4101da177e4SLinus Torvalds	  module will be called em_cmp.
4111da177e4SLinus Torvalds
4121da177e4SLinus Torvaldsconfig NET_EMATCH_NBYTE
4131da177e4SLinus Torvalds	tristate "Multi byte comparison"
4141da177e4SLinus Torvalds	depends on NET_EMATCH
4151da177e4SLinus Torvalds	---help---
4161da177e4SLinus Torvalds	  Say Y here if you want to be able to classify packets based on
4171da177e4SLinus Torvalds	  multiple byte comparisons mainly useful for IPv6 address comparisons.
4181da177e4SLinus Torvalds
4191da177e4SLinus Torvalds	  To compile this code as a module, choose M here: the
4201da177e4SLinus Torvalds	  module will be called em_nbyte.
4211da177e4SLinus Torvalds
4221da177e4SLinus Torvaldsconfig NET_EMATCH_U32
423*52ab4ac2SThomas Graf	tristate "U32 key"
4241da177e4SLinus Torvalds	depends on NET_EMATCH
4251da177e4SLinus Torvalds	---help---
4261da177e4SLinus Torvalds	  Say Y here if you want to be able to classify packets using
4271da177e4SLinus Torvalds	  the famous u32 key in combination with logic relations.
4281da177e4SLinus Torvalds
4291da177e4SLinus Torvalds	  To compile this code as a module, choose M here: the
4301da177e4SLinus Torvalds	  module will be called em_u32.
4311da177e4SLinus Torvalds
4321da177e4SLinus Torvaldsconfig NET_EMATCH_META
4331da177e4SLinus Torvalds	tristate "Metadata"
4341da177e4SLinus Torvalds	depends on NET_EMATCH
4351da177e4SLinus Torvalds	---help---
4361da177e4SLinus Torvalds	  Say Y here if you want to be ablt to classify packets based on
4371da177e4SLinus Torvalds	  metadata such as load average, netfilter attributes, socket
4381da177e4SLinus Torvalds	  attributes and routing decisions.
4391da177e4SLinus Torvalds
4401da177e4SLinus Torvalds	  To compile this code as a module, choose M here: the
4411da177e4SLinus Torvalds	  module will be called em_meta.
4421da177e4SLinus Torvalds
443d675c989SThomas Grafconfig NET_EMATCH_TEXT
444d675c989SThomas Graf	tristate "Textsearch"
445d675c989SThomas Graf	depends on NET_EMATCH
446f2d368faSDavid S. Miller	select TEXTSEARCH
447f7704347SDavid S. Miller	select TEXTSEARCH_KMP
44829cb9f9cSDavid S. Miller	select TEXTSEARCH_BM
449f7704347SDavid S. Miller	select TEXTSEARCH_FSM
450d675c989SThomas Graf	---help---
451*52ab4ac2SThomas Graf	  Say Y here if you want to be able to classify packets based on
452f7704347SDavid S. Miller	  textsearch comparisons.
453d675c989SThomas Graf
454d675c989SThomas Graf	  To compile this code as a module, choose M here: the
455d675c989SThomas Graf	  module will be called em_text.
456d675c989SThomas Graf
4571da177e4SLinus Torvaldsconfig NET_CLS_ACT
458*52ab4ac2SThomas Graf	bool "Actions"
459*52ab4ac2SThomas Graf	depends on EXPERIMENTAL && NET_SCHED
460*52ab4ac2SThomas Graf	select NET_ESTIMATOR
4611da177e4SLinus Torvalds	---help---
462*52ab4ac2SThomas Graf	  Say Y here if you want to use traffic control actions. Actions
463*52ab4ac2SThomas Graf	  get attached to classifiers and are invoked after a successful
464*52ab4ac2SThomas Graf	  classification. They are used to overwrite the classification
465*52ab4ac2SThomas Graf	  result, instantly drop or redirect packets, etc.
466*52ab4ac2SThomas Graf
467*52ab4ac2SThomas Graf	  A recent version of the iproute2 package is required to use
468*52ab4ac2SThomas Graf	  extended matches.
4691da177e4SLinus Torvalds
4701da177e4SLinus Torvaldsconfig NET_ACT_POLICE
471*52ab4ac2SThomas Graf	tristate "Traffic Policing"
4721da177e4SLinus Torvalds        depends on NET_CLS_ACT
4731da177e4SLinus Torvalds        ---help---
474*52ab4ac2SThomas Graf	  Say Y here if you want to do traffic policing, i.e. strict
475*52ab4ac2SThomas Graf	  bandwidth limiting. This action replaces the existing policing
476*52ab4ac2SThomas Graf	  module.
477*52ab4ac2SThomas Graf
478*52ab4ac2SThomas Graf	  To compile this code as a module, choose M here: the
479*52ab4ac2SThomas Graf	  module will be called police.
4801da177e4SLinus Torvalds
4811da177e4SLinus Torvaldsconfig NET_ACT_GACT
482*52ab4ac2SThomas Graf        tristate "Generic actions"
4831da177e4SLinus Torvalds        depends on NET_CLS_ACT
4841da177e4SLinus Torvalds        ---help---
485*52ab4ac2SThomas Graf	  Say Y here to take generic actions such as dropping and
486*52ab4ac2SThomas Graf	  accepting packets.
487*52ab4ac2SThomas Graf
488*52ab4ac2SThomas Graf	  To compile this code as a module, choose M here: the
489*52ab4ac2SThomas Graf	  module will be called gact.
4901da177e4SLinus Torvalds
4911da177e4SLinus Torvaldsconfig GACT_PROB
492*52ab4ac2SThomas Graf        bool "Probability support"
4931da177e4SLinus Torvalds        depends on NET_ACT_GACT
4941da177e4SLinus Torvalds        ---help---
495*52ab4ac2SThomas Graf	  Say Y here to use the generic action randomly or deterministically.
4961da177e4SLinus Torvalds
4971da177e4SLinus Torvaldsconfig NET_ACT_MIRRED
498*52ab4ac2SThomas Graf        tristate "Redirecting and Mirroring"
4991da177e4SLinus Torvalds        depends on NET_CLS_ACT
5001da177e4SLinus Torvalds        ---help---
501*52ab4ac2SThomas Graf	  Say Y here to allow packets to be mirrored or redirected to
502*52ab4ac2SThomas Graf	  other devices.
503*52ab4ac2SThomas Graf
504*52ab4ac2SThomas Graf	  To compile this code as a module, choose M here: the
505*52ab4ac2SThomas Graf	  module will be called mirred.
5061da177e4SLinus Torvalds
5071da177e4SLinus Torvaldsconfig NET_ACT_IPT
508*52ab4ac2SThomas Graf        tristate "IPtables targets"
5091da177e4SLinus Torvalds        depends on NET_CLS_ACT && NETFILTER && IP_NF_IPTABLES
5101da177e4SLinus Torvalds        ---help---
511*52ab4ac2SThomas Graf	  Say Y here to be able to invoke iptables targets after succesful
512*52ab4ac2SThomas Graf	  classification.
513*52ab4ac2SThomas Graf
514*52ab4ac2SThomas Graf	  To compile this code as a module, choose M here: the
515*52ab4ac2SThomas Graf	  module will be called ipt.
5161da177e4SLinus Torvalds
5171da177e4SLinus Torvaldsconfig NET_ACT_PEDIT
518*52ab4ac2SThomas Graf        tristate "Packet Editing"
5191da177e4SLinus Torvalds        depends on NET_CLS_ACT
5201da177e4SLinus Torvalds        ---help---
521*52ab4ac2SThomas Graf	  Say Y here if you want to mangle the content of packets.
5221da177e4SLinus Torvalds
523*52ab4ac2SThomas Graf	  To compile this code as a module, choose M here: the
524*52ab4ac2SThomas Graf	  module will be called pedit.
5251da177e4SLinus Torvalds
526db753079SJamal Hadi Salimconfig NET_ACT_SIMP
527*52ab4ac2SThomas Graf        tristate "Simple Example (Debug)"
528db753079SJamal Hadi Salim        depends on NET_CLS_ACT
529db753079SJamal Hadi Salim        ---help---
530*52ab4ac2SThomas Graf	  Say Y here to add a simple action for demonstration purposes.
531*52ab4ac2SThomas Graf	  It is meant as an example and for debugging purposes. It will
532*52ab4ac2SThomas Graf	  print a configured policy string followed by the packet count
533*52ab4ac2SThomas Graf	  to the console for every packet that passes by.
534db753079SJamal Hadi Salim
535*52ab4ac2SThomas Graf	  If unsure, say N.
536*52ab4ac2SThomas Graf
537*52ab4ac2SThomas Graf	  To compile this code as a module, choose M here: the
538*52ab4ac2SThomas Graf	  module will be called simple.
539*52ab4ac2SThomas Graf
540*52ab4ac2SThomas Grafconfig NET_CLS_POLICE
541*52ab4ac2SThomas Graf	bool "Traffic Policing (obsolete)"
542*52ab4ac2SThomas Graf	depends on NET_SCHED && NET_CLS_ACT!=y
543*52ab4ac2SThomas Graf	select NET_ESTIMATOR
544*52ab4ac2SThomas Graf	---help---
545*52ab4ac2SThomas Graf	  Say Y here if you want to do traffic policing, i.e. strict
546*52ab4ac2SThomas Graf	  bandwidth limiting. This option is obsoleted by the traffic
547*52ab4ac2SThomas Graf	  policer implemented as action, it stays here for compatibility
548*52ab4ac2SThomas Graf	  reasons.
549*52ab4ac2SThomas Graf
550*52ab4ac2SThomas Grafconfig NET_CLS_IND
551*52ab4ac2SThomas Graf	bool "Incoming device classification"
552*52ab4ac2SThomas Graf	depends on NET_SCHED && (NET_CLS_U32 || NET_CLS_FW)
553*52ab4ac2SThomas Graf	---help---
554*52ab4ac2SThomas Graf	  Say Y here to extend the u32 and fw classifier to support
555*52ab4ac2SThomas Graf	  classification based on the incoming device. This option is
556*52ab4ac2SThomas Graf	  likely to disappear in favour of the metadata ematch.
557*52ab4ac2SThomas Graf
558*52ab4ac2SThomas Grafconfig NET_ESTIMATOR
559*52ab4ac2SThomas Graf	bool "Rate estimator"
560*52ab4ac2SThomas Graf	depends on NET_SCHED
561*52ab4ac2SThomas Graf	---help---
562*52ab4ac2SThomas Graf	  Say Y here to allow using rate estimators to estimate the current
563*52ab4ac2SThomas Graf	  rate-of-flow for network devices, queues, etc. This module is
564*52ab4ac2SThomas Graf	  automaticaly selected if needed but can be selected manually for
565*52ab4ac2SThomas Graf	  statstical purposes.
566*52ab4ac2SThomas Graf
567*52ab4ac2SThomas Grafendmenu
568