xref: /linux/net/sched/Kconfig (revision 72eb7bd2693d83e161442b709b107dd77c77b4f2)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# Traffic control configuration.
31da177e4SLinus Torvalds#
46a2e9b73SSam Ravnborg
585ef3e5cSRandy Dunlapmenuconfig NET_SCHED
66a2e9b73SSam Ravnborg	bool "QoS and/or fair queueing"
73c62f75aSDavid Kimdon	select NET_SCH_FIFO
86a2e9b73SSam Ravnborg	---help---
96a2e9b73SSam Ravnborg	  When the kernel has several packets to send out over a network
106a2e9b73SSam Ravnborg	  device, it has to decide which ones to send first, which ones to
1152ab4ac2SThomas Graf	  delay, and which ones to drop. This is the job of the queueing
1252ab4ac2SThomas Graf	  disciplines, several different algorithms for how to do this
136a2e9b73SSam Ravnborg	  "fairly" have been proposed.
146a2e9b73SSam Ravnborg
156a2e9b73SSam Ravnborg	  If you say N here, you will get the standard packet scheduler, which
166a2e9b73SSam Ravnborg	  is a FIFO (first come, first served). If you say Y here, you will be
176a2e9b73SSam Ravnborg	  able to choose from among several alternative algorithms which can
186a2e9b73SSam Ravnborg	  then be attached to different network devices. This is useful for
196a2e9b73SSam Ravnborg	  example if some of your network devices are real time devices that
206a2e9b73SSam Ravnborg	  need a certain minimum data flow rate, or if you need to limit the
216a2e9b73SSam Ravnborg	  maximum data flow rate for traffic which matches specified criteria.
226a2e9b73SSam Ravnborg	  This code is considered to be experimental.
236a2e9b73SSam Ravnborg
246a2e9b73SSam Ravnborg	  To administer these schedulers, you'll need the user-level utilities
256a2e9b73SSam Ravnborg	  from the package iproute2+tc at <ftp://ftp.tux.org/pub/net/ip-routing/>.
266a2e9b73SSam Ravnborg	  That package also contains some documentation; for more, check out
2752ab4ac2SThomas Graf	  <http://linux-net.osdl.org/index.php/Iproute2>.
286a2e9b73SSam Ravnborg
296a2e9b73SSam Ravnborg	  This Quality of Service (QoS) support will enable you to use
306a2e9b73SSam Ravnborg	  Differentiated Services (diffserv) and Resource Reservation Protocol
3152ab4ac2SThomas Graf	  (RSVP) on your Linux router if you also say Y to the corresponding
3252ab4ac2SThomas Graf	  classifiers below.  Documentation and software is at
3352ab4ac2SThomas Graf	  <http://diffserv.sourceforge.net/>.
346a2e9b73SSam Ravnborg
356a2e9b73SSam Ravnborg	  If you say Y here and to "/proc file system" below, you will be able
366a2e9b73SSam Ravnborg	  to read status information about packet schedulers from the file
376a2e9b73SSam Ravnborg	  /proc/net/psched.
386a2e9b73SSam Ravnborg
396a2e9b73SSam Ravnborg	  The available schedulers are listed in the following questions; you
406a2e9b73SSam Ravnborg	  can say Y to as many as you like. If unsure, say N now.
416a2e9b73SSam Ravnborg
4205b8b0faSRoman Zippelif NET_SCHED
4305b8b0faSRoman Zippel
4452ab4ac2SThomas Grafcomment "Queueing/Scheduling"
4552ab4ac2SThomas Graf
461da177e4SLinus Torvaldsconfig NET_SCH_CBQ
4752ab4ac2SThomas Graf	tristate "Class Based Queueing (CBQ)"
481da177e4SLinus Torvalds	---help---
491da177e4SLinus Torvalds	  Say Y here if you want to use the Class-Based Queueing (CBQ) packet
5052ab4ac2SThomas Graf	  scheduling algorithm. This algorithm classifies the waiting packets
5152ab4ac2SThomas Graf	  into a tree-like hierarchy of classes; the leaves of this tree are
5252ab4ac2SThomas Graf	  in turn scheduled by separate algorithms.
531da177e4SLinus Torvalds
5452ab4ac2SThomas Graf	  See the top of <file:net/sched/sch_cbq.c> for more details.
551da177e4SLinus Torvalds
561da177e4SLinus Torvalds	  CBQ is a commonly used scheduler, so if you're unsure, you should
571da177e4SLinus Torvalds	  say Y here. Then say Y to all the queueing algorithms below that you
5852ab4ac2SThomas Graf	  want to use as leaf disciplines.
591da177e4SLinus Torvalds
601da177e4SLinus Torvalds	  To compile this code as a module, choose M here: the
611da177e4SLinus Torvalds	  module will be called sch_cbq.
621da177e4SLinus Torvalds
631da177e4SLinus Torvaldsconfig NET_SCH_HTB
6452ab4ac2SThomas Graf	tristate "Hierarchical Token Bucket (HTB)"
651da177e4SLinus Torvalds	---help---
661da177e4SLinus Torvalds	  Say Y here if you want to use the Hierarchical Token Buckets (HTB)
6752ab4ac2SThomas Graf	  packet scheduling algorithm. See
681da177e4SLinus Torvalds	  <http://luxik.cdi.cz/~devik/qos/htb/> for complete manual and
691da177e4SLinus Torvalds	  in-depth articles.
701da177e4SLinus Torvalds
7152ab4ac2SThomas Graf	  HTB is very similar to CBQ regarding its goals however is has
721da177e4SLinus Torvalds	  different properties and different algorithm.
731da177e4SLinus Torvalds
741da177e4SLinus Torvalds	  To compile this code as a module, choose M here: the
751da177e4SLinus Torvalds	  module will be called sch_htb.
761da177e4SLinus Torvalds
771da177e4SLinus Torvaldsconfig NET_SCH_HFSC
7852ab4ac2SThomas Graf	tristate "Hierarchical Fair Service Curve (HFSC)"
791da177e4SLinus Torvalds	---help---
801da177e4SLinus Torvalds	  Say Y here if you want to use the Hierarchical Fair Service Curve
8152ab4ac2SThomas Graf	  (HFSC) packet scheduling algorithm.
821da177e4SLinus Torvalds
831da177e4SLinus Torvalds	  To compile this code as a module, choose M here: the
841da177e4SLinus Torvalds	  module will be called sch_hfsc.
851da177e4SLinus Torvalds
861da177e4SLinus Torvaldsconfig NET_SCH_ATM
8752ab4ac2SThomas Graf	tristate "ATM Virtual Circuits (ATM)"
8805b8b0faSRoman Zippel	depends on ATM
891da177e4SLinus Torvalds	---help---
901da177e4SLinus Torvalds	  Say Y here if you want to use the ATM pseudo-scheduler.  This
9152ab4ac2SThomas Graf	  provides a framework for invoking classifiers, which in turn
9252ab4ac2SThomas Graf	  select classes of this queuing discipline.  Each class maps
9352ab4ac2SThomas Graf	  the flow(s) it is handling to a given virtual circuit.
9452ab4ac2SThomas Graf
9599acaeb9SGabriel Craciunescu	  See the top of <file:net/sched/sch_atm.c> for more details.
961da177e4SLinus Torvalds
971da177e4SLinus Torvalds	  To compile this code as a module, choose M here: the
981da177e4SLinus Torvalds	  module will be called sch_atm.
991da177e4SLinus Torvalds
1001da177e4SLinus Torvaldsconfig NET_SCH_PRIO
10152ab4ac2SThomas Graf	tristate "Multi Band Priority Queueing (PRIO)"
10252ab4ac2SThomas Graf	---help---
1031da177e4SLinus Torvalds	  Say Y here if you want to use an n-band priority queue packet
10452ab4ac2SThomas Graf	  scheduler.
1051da177e4SLinus Torvalds
1061da177e4SLinus Torvalds	  To compile this code as a module, choose M here: the
1071da177e4SLinus Torvalds	  module will be called sch_prio.
1081da177e4SLinus Torvalds
109d62733c8SPeter P Waskiewicz Jrconfig NET_SCH_RR
110d62733c8SPeter P Waskiewicz Jr	tristate "Multi Band Round Robin Queuing (RR)"
111d62733c8SPeter P Waskiewicz Jr	select NET_SCH_PRIO
112d62733c8SPeter P Waskiewicz Jr	---help---
113d62733c8SPeter P Waskiewicz Jr	  Say Y here if you want to use an n-band round robin packet
114d62733c8SPeter P Waskiewicz Jr	  scheduler.
115d62733c8SPeter P Waskiewicz Jr
116d62733c8SPeter P Waskiewicz Jr	  The module uses sch_prio for its framework and is aliased as
117d62733c8SPeter P Waskiewicz Jr	  sch_rr, so it will load sch_prio, although it is referred
118d62733c8SPeter P Waskiewicz Jr	  to using sch_rr.
119d62733c8SPeter P Waskiewicz Jr
1201da177e4SLinus Torvaldsconfig NET_SCH_RED
12152ab4ac2SThomas Graf	tristate "Random Early Detection (RED)"
12252ab4ac2SThomas Graf	---help---
1231da177e4SLinus Torvalds	  Say Y here if you want to use the Random Early Detection (RED)
12452ab4ac2SThomas Graf	  packet scheduling algorithm.
12552ab4ac2SThomas Graf
12652ab4ac2SThomas Graf	  See the top of <file:net/sched/sch_red.c> for more details.
1271da177e4SLinus Torvalds
1281da177e4SLinus Torvalds	  To compile this code as a module, choose M here: the
1291da177e4SLinus Torvalds	  module will be called sch_red.
1301da177e4SLinus Torvalds
1311da177e4SLinus Torvaldsconfig NET_SCH_SFQ
13252ab4ac2SThomas Graf	tristate "Stochastic Fairness Queueing (SFQ)"
1331da177e4SLinus Torvalds	---help---
1341da177e4SLinus Torvalds	  Say Y here if you want to use the Stochastic Fairness Queueing (SFQ)
13552ab4ac2SThomas Graf	  packet scheduling algorithm.
13652ab4ac2SThomas Graf
13752ab4ac2SThomas Graf	  See the top of <file:net/sched/sch_sfq.c> for more details.
1381da177e4SLinus Torvalds
1391da177e4SLinus Torvalds	  To compile this code as a module, choose M here: the
1401da177e4SLinus Torvalds	  module will be called sch_sfq.
1411da177e4SLinus Torvalds
1421da177e4SLinus Torvaldsconfig NET_SCH_TEQL
14352ab4ac2SThomas Graf	tristate "True Link Equalizer (TEQL)"
1441da177e4SLinus Torvalds	---help---
1451da177e4SLinus Torvalds	  Say Y here if you want to use the True Link Equalizer (TLE) packet
14652ab4ac2SThomas Graf	  scheduling algorithm. This queueing discipline allows the combination
14752ab4ac2SThomas Graf	  of several physical devices into one virtual device.
14852ab4ac2SThomas Graf
14952ab4ac2SThomas Graf	  See the top of <file:net/sched/sch_teql.c> for more details.
1501da177e4SLinus Torvalds
1511da177e4SLinus Torvalds	  To compile this code as a module, choose M here: the
1521da177e4SLinus Torvalds	  module will be called sch_teql.
1531da177e4SLinus Torvalds
1541da177e4SLinus Torvaldsconfig NET_SCH_TBF
15552ab4ac2SThomas Graf	tristate "Token Bucket Filter (TBF)"
15652ab4ac2SThomas Graf	---help---
15752ab4ac2SThomas Graf	  Say Y here if you want to use the Token Bucket Filter (TBF) packet
15852ab4ac2SThomas Graf	  scheduling algorithm.
15952ab4ac2SThomas Graf
16052ab4ac2SThomas Graf	  See the top of <file:net/sched/sch_tbf.c> for more details.
1611da177e4SLinus Torvalds
1621da177e4SLinus Torvalds	  To compile this code as a module, choose M here: the
1631da177e4SLinus Torvalds	  module will be called sch_tbf.
1641da177e4SLinus Torvalds
1651da177e4SLinus Torvaldsconfig NET_SCH_GRED
16652ab4ac2SThomas Graf	tristate "Generic Random Early Detection (GRED)"
16752ab4ac2SThomas Graf	---help---
1681da177e4SLinus Torvalds	  Say Y here if you want to use the Generic Random Early Detection
16920cc6befSLucas Correia Villa Real	  (GRED) packet scheduling algorithm for some of your network devices
1701da177e4SLinus Torvalds	  (see the top of <file:net/sched/sch_red.c> for details and
1711da177e4SLinus Torvalds	  references about the algorithm).
1721da177e4SLinus Torvalds
1731da177e4SLinus Torvalds	  To compile this code as a module, choose M here: the
1741da177e4SLinus Torvalds	  module will be called sch_gred.
1751da177e4SLinus Torvalds
1761da177e4SLinus Torvaldsconfig NET_SCH_DSMARK
17752ab4ac2SThomas Graf	tristate "Differentiated Services marker (DSMARK)"
17852ab4ac2SThomas Graf	---help---
1791da177e4SLinus Torvalds	  Say Y if you want to schedule packets according to the
1801da177e4SLinus Torvalds	  Differentiated Services architecture proposed in RFC 2475.
1811da177e4SLinus Torvalds	  Technical information on this method, with pointers to associated
1821da177e4SLinus Torvalds	  RFCs, is available at <http://www.gta.ufrj.br/diffserv/>.
1831da177e4SLinus Torvalds
1841da177e4SLinus Torvalds	  To compile this code as a module, choose M here: the
1851da177e4SLinus Torvalds	  module will be called sch_dsmark.
1861da177e4SLinus Torvalds
1871da177e4SLinus Torvaldsconfig NET_SCH_NETEM
18852ab4ac2SThomas Graf	tristate "Network emulator (NETEM)"
18952ab4ac2SThomas Graf	---help---
1901da177e4SLinus Torvalds	  Say Y if you want to emulate network delay, loss, and packet
1911da177e4SLinus Torvalds	  re-ordering. This is often useful to simulate networks when
1921da177e4SLinus Torvalds	  testing applications or protocols.
1931da177e4SLinus Torvalds
1941da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the module
1951da177e4SLinus Torvalds	  will be called sch_netem.
1961da177e4SLinus Torvalds
1971da177e4SLinus Torvalds	  If unsure, say N.
1981da177e4SLinus Torvalds
1991da177e4SLinus Torvaldsconfig NET_SCH_INGRESS
2001da177e4SLinus Torvalds	tristate "Ingress Qdisc"
201*72eb7bd2SPatrick McHardy	depends on NET_CLS_ACT
20252ab4ac2SThomas Graf	---help---
20352ab4ac2SThomas Graf	  Say Y here if you want to use classifiers for incoming packets.
2041da177e4SLinus Torvalds	  If unsure, say Y.
2051da177e4SLinus Torvalds
2061da177e4SLinus Torvalds	  To compile this code as a module, choose M here: the
2071da177e4SLinus Torvalds	  module will be called sch_ingress.
2081da177e4SLinus Torvalds
20952ab4ac2SThomas Grafcomment "Classification"
2101da177e4SLinus Torvalds
2111da177e4SLinus Torvaldsconfig NET_CLS
21252ab4ac2SThomas Graf	boolean
2131da177e4SLinus Torvalds
2141da177e4SLinus Torvaldsconfig NET_CLS_BASIC
21552ab4ac2SThomas Graf	tristate "Elementary classification (BASIC)"
21652ab4ac2SThomas Graf	select NET_CLS
2171da177e4SLinus Torvalds	---help---
2181da177e4SLinus Torvalds	  Say Y here if you want to be able to classify packets using
2191da177e4SLinus Torvalds	  only extended matches and actions.
2201da177e4SLinus Torvalds
2211da177e4SLinus Torvalds	  To compile this code as a module, choose M here: the
2221da177e4SLinus Torvalds	  module will be called cls_basic.
2231da177e4SLinus Torvalds
2241da177e4SLinus Torvaldsconfig NET_CLS_TCINDEX
22552ab4ac2SThomas Graf	tristate "Traffic-Control Index (TCINDEX)"
22652ab4ac2SThomas Graf	select NET_CLS
22752ab4ac2SThomas Graf	---help---
22852ab4ac2SThomas Graf	  Say Y here if you want to be able to classify packets based on
22952ab4ac2SThomas Graf	  traffic control indices. You will want this feature if you want
23052ab4ac2SThomas Graf	  to implement Differentiated Services together with DSMARK.
2311da177e4SLinus Torvalds
2321da177e4SLinus Torvalds	  To compile this code as a module, choose M here: the
2331da177e4SLinus Torvalds	  module will be called cls_tcindex.
2341da177e4SLinus Torvalds
2351da177e4SLinus Torvaldsconfig NET_CLS_ROUTE4
23652ab4ac2SThomas Graf	tristate "Routing decision (ROUTE)"
2371da177e4SLinus Torvalds	select NET_CLS_ROUTE
23852ab4ac2SThomas Graf	select NET_CLS
23952ab4ac2SThomas Graf	---help---
24052ab4ac2SThomas Graf	  If you say Y here, you will be able to classify packets
24152ab4ac2SThomas Graf	  according to the route table entry they matched.
2421da177e4SLinus Torvalds
2431da177e4SLinus Torvalds	  To compile this code as a module, choose M here: the
2441da177e4SLinus Torvalds	  module will be called cls_route.
2451da177e4SLinus Torvalds
2461da177e4SLinus Torvaldsconfig NET_CLS_ROUTE
2471da177e4SLinus Torvalds	bool
2481da177e4SLinus Torvalds
2491da177e4SLinus Torvaldsconfig NET_CLS_FW
25052ab4ac2SThomas Graf	tristate "Netfilter mark (FW)"
25152ab4ac2SThomas Graf	select NET_CLS
25252ab4ac2SThomas Graf	---help---
25352ab4ac2SThomas Graf	  If you say Y here, you will be able to classify packets
25452ab4ac2SThomas Graf	  according to netfilter/firewall marks.
2551da177e4SLinus Torvalds
2561da177e4SLinus Torvalds	  To compile this code as a module, choose M here: the
2571da177e4SLinus Torvalds	  module will be called cls_fw.
2581da177e4SLinus Torvalds
2591da177e4SLinus Torvaldsconfig NET_CLS_U32
26052ab4ac2SThomas Graf	tristate "Universal 32bit comparisons w/ hashing (U32)"
26152ab4ac2SThomas Graf	select NET_CLS
26252ab4ac2SThomas Graf	---help---
2633539c272SMatt LaPlante	  Say Y here to be able to classify packets using a universal
26452ab4ac2SThomas Graf	  32bit pieces based comparison scheme.
2651da177e4SLinus Torvalds
2661da177e4SLinus Torvalds	  To compile this code as a module, choose M here: the
2671da177e4SLinus Torvalds	  module will be called cls_u32.
2681da177e4SLinus Torvalds
2691da177e4SLinus Torvaldsconfig CLS_U32_PERF
27052ab4ac2SThomas Graf	bool "Performance counters support"
2711da177e4SLinus Torvalds	depends on NET_CLS_U32
27252ab4ac2SThomas Graf	---help---
27352ab4ac2SThomas Graf	  Say Y here to make u32 gather additional statistics useful for
27452ab4ac2SThomas Graf	  fine tuning u32 classifiers.
2751da177e4SLinus Torvalds
2761da177e4SLinus Torvaldsconfig CLS_U32_MARK
27752ab4ac2SThomas Graf	bool "Netfilter marks support"
27882e91ffeSThomas Graf	depends on NET_CLS_U32
27952ab4ac2SThomas Graf	---help---
28052ab4ac2SThomas Graf	  Say Y here to be able to use netfilter marks as u32 key.
2811da177e4SLinus Torvalds
2821da177e4SLinus Torvaldsconfig NET_CLS_RSVP
28352ab4ac2SThomas Graf	tristate "IPv4 Resource Reservation Protocol (RSVP)"
28452ab4ac2SThomas Graf	select NET_CLS
2851da177e4SLinus Torvalds	---help---
2861da177e4SLinus Torvalds	  The Resource Reservation Protocol (RSVP) permits end systems to
2871da177e4SLinus Torvalds	  request a minimum and maximum data flow rate for a connection; this
2881da177e4SLinus Torvalds	  is important for real time data such as streaming sound or video.
2891da177e4SLinus Torvalds
2901da177e4SLinus Torvalds	  Say Y here if you want to be able to classify outgoing packets based
2911da177e4SLinus Torvalds	  on their RSVP requests.
2921da177e4SLinus Torvalds
2931da177e4SLinus Torvalds	  To compile this code as a module, choose M here: the
2941da177e4SLinus Torvalds	  module will be called cls_rsvp.
2951da177e4SLinus Torvalds
2961da177e4SLinus Torvaldsconfig NET_CLS_RSVP6
29752ab4ac2SThomas Graf	tristate "IPv6 Resource Reservation Protocol (RSVP6)"
29852ab4ac2SThomas Graf	select NET_CLS
2991da177e4SLinus Torvalds	---help---
3001da177e4SLinus Torvalds	  The Resource Reservation Protocol (RSVP) permits end systems to
3011da177e4SLinus Torvalds	  request a minimum and maximum data flow rate for a connection; this
3021da177e4SLinus Torvalds	  is important for real time data such as streaming sound or video.
3031da177e4SLinus Torvalds
3041da177e4SLinus Torvalds	  Say Y here if you want to be able to classify outgoing packets based
30599acaeb9SGabriel Craciunescu	  on their RSVP requests and you are using the IPv6 protocol.
3061da177e4SLinus Torvalds
3071da177e4SLinus Torvalds	  To compile this code as a module, choose M here: the
3081da177e4SLinus Torvalds	  module will be called cls_rsvp6.
3091da177e4SLinus Torvalds
3101da177e4SLinus Torvaldsconfig NET_EMATCH
3111da177e4SLinus Torvalds	bool "Extended Matches"
31252ab4ac2SThomas Graf	select NET_CLS
3131da177e4SLinus Torvalds	---help---
3141da177e4SLinus Torvalds	  Say Y here if you want to use extended matches on top of classifiers
3151da177e4SLinus Torvalds	  and select the extended matches below.
3161da177e4SLinus Torvalds
3171da177e4SLinus Torvalds	  Extended matches are small classification helpers not worth writing
31852ab4ac2SThomas Graf	  a separate classifier for.
3191da177e4SLinus Torvalds
32052ab4ac2SThomas Graf	  A recent version of the iproute2 package is required to use
3211da177e4SLinus Torvalds	  extended matches.
3221da177e4SLinus Torvalds
3231da177e4SLinus Torvaldsconfig NET_EMATCH_STACK
3241da177e4SLinus Torvalds	int "Stack size"
3251da177e4SLinus Torvalds	depends on NET_EMATCH
3261da177e4SLinus Torvalds	default "32"
3271da177e4SLinus Torvalds	---help---
3281da177e4SLinus Torvalds	  Size of the local stack variable used while evaluating the tree of
3291da177e4SLinus Torvalds	  ematches. Limits the depth of the tree, i.e. the number of
330b824979aSThomas Graf	  encapsulated precedences. Every level requires 4 bytes of additional
3311da177e4SLinus Torvalds	  stack space.
3321da177e4SLinus Torvalds
3331da177e4SLinus Torvaldsconfig NET_EMATCH_CMP
3341da177e4SLinus Torvalds	tristate "Simple packet data comparison"
3351da177e4SLinus Torvalds	depends on NET_EMATCH
3361da177e4SLinus Torvalds	---help---
3371da177e4SLinus Torvalds	  Say Y here if you want to be able to classify packets based on
3381da177e4SLinus Torvalds	  simple packet data comparisons for 8, 16, and 32bit values.
3391da177e4SLinus Torvalds
3401da177e4SLinus Torvalds	  To compile this code as a module, choose M here: the
3411da177e4SLinus Torvalds	  module will be called em_cmp.
3421da177e4SLinus Torvalds
3431da177e4SLinus Torvaldsconfig NET_EMATCH_NBYTE
3441da177e4SLinus Torvalds	tristate "Multi byte comparison"
3451da177e4SLinus Torvalds	depends on NET_EMATCH
3461da177e4SLinus Torvalds	---help---
3471da177e4SLinus Torvalds	  Say Y here if you want to be able to classify packets based on
3481da177e4SLinus Torvalds	  multiple byte comparisons mainly useful for IPv6 address comparisons.
3491da177e4SLinus Torvalds
3501da177e4SLinus Torvalds	  To compile this code as a module, choose M here: the
3511da177e4SLinus Torvalds	  module will be called em_nbyte.
3521da177e4SLinus Torvalds
3531da177e4SLinus Torvaldsconfig NET_EMATCH_U32
35452ab4ac2SThomas Graf	tristate "U32 key"
3551da177e4SLinus Torvalds	depends on NET_EMATCH
3561da177e4SLinus Torvalds	---help---
3571da177e4SLinus Torvalds	  Say Y here if you want to be able to classify packets using
3581da177e4SLinus Torvalds	  the famous u32 key in combination with logic relations.
3591da177e4SLinus Torvalds
3601da177e4SLinus Torvalds	  To compile this code as a module, choose M here: the
3611da177e4SLinus Torvalds	  module will be called em_u32.
3621da177e4SLinus Torvalds
3631da177e4SLinus Torvaldsconfig NET_EMATCH_META
3641da177e4SLinus Torvalds	tristate "Metadata"
3651da177e4SLinus Torvalds	depends on NET_EMATCH
3661da177e4SLinus Torvalds	---help---
367bb7e8c5aSAdrian Bunk	  Say Y here if you want to be able to classify packets based on
3681da177e4SLinus Torvalds	  metadata such as load average, netfilter attributes, socket
3691da177e4SLinus Torvalds	  attributes and routing decisions.
3701da177e4SLinus Torvalds
3711da177e4SLinus Torvalds	  To compile this code as a module, choose M here: the
3721da177e4SLinus Torvalds	  module will be called em_meta.
3731da177e4SLinus Torvalds
374d675c989SThomas Grafconfig NET_EMATCH_TEXT
375d675c989SThomas Graf	tristate "Textsearch"
376d675c989SThomas Graf	depends on NET_EMATCH
377f2d368faSDavid S. Miller	select TEXTSEARCH
378f7704347SDavid S. Miller	select TEXTSEARCH_KMP
37929cb9f9cSDavid S. Miller	select TEXTSEARCH_BM
380f7704347SDavid S. Miller	select TEXTSEARCH_FSM
381d675c989SThomas Graf	---help---
38252ab4ac2SThomas Graf	  Say Y here if you want to be able to classify packets based on
383f7704347SDavid S. Miller	  textsearch comparisons.
384d675c989SThomas Graf
385d675c989SThomas Graf	  To compile this code as a module, choose M here: the
386d675c989SThomas Graf	  module will be called em_text.
387d675c989SThomas Graf
3881da177e4SLinus Torvaldsconfig NET_CLS_ACT
38952ab4ac2SThomas Graf	bool "Actions"
3901da177e4SLinus Torvalds	---help---
39152ab4ac2SThomas Graf	  Say Y here if you want to use traffic control actions. Actions
39252ab4ac2SThomas Graf	  get attached to classifiers and are invoked after a successful
39352ab4ac2SThomas Graf	  classification. They are used to overwrite the classification
39452ab4ac2SThomas Graf	  result, instantly drop or redirect packets, etc.
39552ab4ac2SThomas Graf
39652ab4ac2SThomas Graf	  A recent version of the iproute2 package is required to use
39752ab4ac2SThomas Graf	  extended matches.
3981da177e4SLinus Torvalds
3991da177e4SLinus Torvaldsconfig NET_ACT_POLICE
40052ab4ac2SThomas Graf	tristate "Traffic Policing"
4011da177e4SLinus Torvalds        depends on NET_CLS_ACT
4021da177e4SLinus Torvalds        ---help---
40352ab4ac2SThomas Graf	  Say Y here if you want to do traffic policing, i.e. strict
40452ab4ac2SThomas Graf	  bandwidth limiting. This action replaces the existing policing
40552ab4ac2SThomas Graf	  module.
40652ab4ac2SThomas Graf
40752ab4ac2SThomas Graf	  To compile this code as a module, choose M here: the
40852ab4ac2SThomas Graf	  module will be called police.
4091da177e4SLinus Torvalds
4101da177e4SLinus Torvaldsconfig NET_ACT_GACT
41152ab4ac2SThomas Graf        tristate "Generic actions"
4121da177e4SLinus Torvalds        depends on NET_CLS_ACT
4131da177e4SLinus Torvalds        ---help---
41452ab4ac2SThomas Graf	  Say Y here to take generic actions such as dropping and
41552ab4ac2SThomas Graf	  accepting packets.
41652ab4ac2SThomas Graf
41752ab4ac2SThomas Graf	  To compile this code as a module, choose M here: the
41852ab4ac2SThomas Graf	  module will be called gact.
4191da177e4SLinus Torvalds
4201da177e4SLinus Torvaldsconfig GACT_PROB
42152ab4ac2SThomas Graf        bool "Probability support"
4221da177e4SLinus Torvalds        depends on NET_ACT_GACT
4231da177e4SLinus Torvalds        ---help---
42452ab4ac2SThomas Graf	  Say Y here to use the generic action randomly or deterministically.
4251da177e4SLinus Torvalds
4261da177e4SLinus Torvaldsconfig NET_ACT_MIRRED
42752ab4ac2SThomas Graf        tristate "Redirecting and Mirroring"
4281da177e4SLinus Torvalds        depends on NET_CLS_ACT
4291da177e4SLinus Torvalds        ---help---
43052ab4ac2SThomas Graf	  Say Y here to allow packets to be mirrored or redirected to
43152ab4ac2SThomas Graf	  other devices.
43252ab4ac2SThomas Graf
43352ab4ac2SThomas Graf	  To compile this code as a module, choose M here: the
43452ab4ac2SThomas Graf	  module will be called mirred.
4351da177e4SLinus Torvalds
4361da177e4SLinus Torvaldsconfig NET_ACT_IPT
43752ab4ac2SThomas Graf        tristate "IPtables targets"
4381da177e4SLinus Torvalds        depends on NET_CLS_ACT && NETFILTER && IP_NF_IPTABLES
4391da177e4SLinus Torvalds        ---help---
4403539c272SMatt LaPlante	  Say Y here to be able to invoke iptables targets after successful
44152ab4ac2SThomas Graf	  classification.
44252ab4ac2SThomas Graf
44352ab4ac2SThomas Graf	  To compile this code as a module, choose M here: the
44452ab4ac2SThomas Graf	  module will be called ipt.
4451da177e4SLinus Torvalds
446b4219952SHerbert Xuconfig NET_ACT_NAT
447b4219952SHerbert Xu        tristate "Stateless NAT"
448b4219952SHerbert Xu        depends on NET_CLS_ACT
449b4219952SHerbert Xu        ---help---
450b4219952SHerbert Xu	  Say Y here to do stateless NAT on IPv4 packets.  You should use
451b4219952SHerbert Xu	  netfilter for NAT unless you know what you are doing.
452b4219952SHerbert Xu
453b4219952SHerbert Xu	  To compile this code as a module, choose M here: the
454b4219952SHerbert Xu	  module will be called nat.
455b4219952SHerbert Xu
4561da177e4SLinus Torvaldsconfig NET_ACT_PEDIT
45752ab4ac2SThomas Graf        tristate "Packet Editing"
4581da177e4SLinus Torvalds        depends on NET_CLS_ACT
4591da177e4SLinus Torvalds        ---help---
46052ab4ac2SThomas Graf	  Say Y here if you want to mangle the content of packets.
4611da177e4SLinus Torvalds
46252ab4ac2SThomas Graf	  To compile this code as a module, choose M here: the
46352ab4ac2SThomas Graf	  module will be called pedit.
4641da177e4SLinus Torvalds
465db753079SJamal Hadi Salimconfig NET_ACT_SIMP
46652ab4ac2SThomas Graf        tristate "Simple Example (Debug)"
467db753079SJamal Hadi Salim        depends on NET_CLS_ACT
468db753079SJamal Hadi Salim        ---help---
46952ab4ac2SThomas Graf	  Say Y here to add a simple action for demonstration purposes.
47052ab4ac2SThomas Graf	  It is meant as an example and for debugging purposes. It will
47152ab4ac2SThomas Graf	  print a configured policy string followed by the packet count
47252ab4ac2SThomas Graf	  to the console for every packet that passes by.
473db753079SJamal Hadi Salim
47452ab4ac2SThomas Graf	  If unsure, say N.
47552ab4ac2SThomas Graf
47652ab4ac2SThomas Graf	  To compile this code as a module, choose M here: the
47752ab4ac2SThomas Graf	  module will be called simple.
47852ab4ac2SThomas Graf
47952ab4ac2SThomas Grafconfig NET_CLS_IND
48052ab4ac2SThomas Graf	bool "Incoming device classification"
48105b8b0faSRoman Zippel	depends on NET_CLS_U32 || NET_CLS_FW
48252ab4ac2SThomas Graf	---help---
48352ab4ac2SThomas Graf	  Say Y here to extend the u32 and fw classifier to support
48452ab4ac2SThomas Graf	  classification based on the incoming device. This option is
48552ab4ac2SThomas Graf	  likely to disappear in favour of the metadata ematch.
48652ab4ac2SThomas Graf
48705b8b0faSRoman Zippelendif # NET_SCHED
48805b8b0faSRoman Zippel
48985ef3e5cSRandy Dunlapconfig NET_SCH_FIFO
49085ef3e5cSRandy Dunlap	bool
491