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 255d330cddSAndrew Shewmaker from the package iproute2+tc at 265d330cddSAndrew Shewmaker <https://www.kernel.org/pub/linux/utils/net/iproute2/>. That package 275d330cddSAndrew Shewmaker also contains some documentation; for more, check out 28c996d8b9SMichael Witten <http://www.linuxfoundation.org/collaborate/workgroups/networking/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 3252ab4ac2SThomas Graf (RSVP) on your Linux router if you also say Y to the corresponding 3352ab4ac2SThomas Graf classifiers below. Documentation and software is at 3452ab4ac2SThomas 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 4305b8b0faSRoman Zippelif NET_SCHED 4405b8b0faSRoman Zippel 4552ab4ac2SThomas Grafcomment "Queueing/Scheduling" 4652ab4ac2SThomas Graf 471da177e4SLinus Torvaldsconfig NET_SCH_CBQ 4852ab4ac2SThomas Graf tristate "Class Based Queueing (CBQ)" 491da177e4SLinus Torvalds ---help--- 501da177e4SLinus Torvalds Say Y here if you want to use the Class-Based Queueing (CBQ) packet 5152ab4ac2SThomas Graf scheduling algorithm. This algorithm classifies the waiting packets 5252ab4ac2SThomas Graf into a tree-like hierarchy of classes; the leaves of this tree are 5352ab4ac2SThomas Graf in turn scheduled by separate algorithms. 541da177e4SLinus Torvalds 5552ab4ac2SThomas Graf See the top of <file:net/sched/sch_cbq.c> for more details. 561da177e4SLinus Torvalds 571da177e4SLinus Torvalds CBQ is a commonly used scheduler, so if you're unsure, you should 581da177e4SLinus Torvalds say Y here. Then say Y to all the queueing algorithms below that you 5952ab4ac2SThomas Graf want to use as leaf disciplines. 601da177e4SLinus Torvalds 611da177e4SLinus Torvalds To compile this code as a module, choose M here: the 621da177e4SLinus Torvalds module will be called sch_cbq. 631da177e4SLinus Torvalds 641da177e4SLinus Torvaldsconfig NET_SCH_HTB 6552ab4ac2SThomas Graf tristate "Hierarchical Token Bucket (HTB)" 661da177e4SLinus Torvalds ---help--- 671da177e4SLinus Torvalds Say Y here if you want to use the Hierarchical Token Buckets (HTB) 6852ab4ac2SThomas Graf packet scheduling algorithm. See 691da177e4SLinus Torvalds <http://luxik.cdi.cz/~devik/qos/htb/> for complete manual and 701da177e4SLinus Torvalds in-depth articles. 711da177e4SLinus Torvalds 7252ab4ac2SThomas Graf HTB is very similar to CBQ regarding its goals however is has 731da177e4SLinus Torvalds different properties and different algorithm. 741da177e4SLinus Torvalds 751da177e4SLinus Torvalds To compile this code as a module, choose M here: the 761da177e4SLinus Torvalds module will be called sch_htb. 771da177e4SLinus Torvalds 781da177e4SLinus Torvaldsconfig NET_SCH_HFSC 7952ab4ac2SThomas Graf tristate "Hierarchical Fair Service Curve (HFSC)" 801da177e4SLinus Torvalds ---help--- 811da177e4SLinus Torvalds Say Y here if you want to use the Hierarchical Fair Service Curve 8252ab4ac2SThomas Graf (HFSC) packet scheduling algorithm. 831da177e4SLinus Torvalds 841da177e4SLinus Torvalds To compile this code as a module, choose M here: the 851da177e4SLinus Torvalds module will be called sch_hfsc. 861da177e4SLinus Torvalds 871da177e4SLinus Torvaldsconfig NET_SCH_ATM 8852ab4ac2SThomas Graf tristate "ATM Virtual Circuits (ATM)" 8905b8b0faSRoman Zippel depends on ATM 901da177e4SLinus Torvalds ---help--- 911da177e4SLinus Torvalds Say Y here if you want to use the ATM pseudo-scheduler. This 9252ab4ac2SThomas Graf provides a framework for invoking classifiers, which in turn 9352ab4ac2SThomas Graf select classes of this queuing discipline. Each class maps 9452ab4ac2SThomas Graf the flow(s) it is handling to a given virtual circuit. 9552ab4ac2SThomas Graf 9699acaeb9SGabriel Craciunescu See the top of <file:net/sched/sch_atm.c> for more details. 971da177e4SLinus Torvalds 981da177e4SLinus Torvalds To compile this code as a module, choose M here: the 991da177e4SLinus Torvalds module will be called sch_atm. 1001da177e4SLinus Torvalds 1011da177e4SLinus Torvaldsconfig NET_SCH_PRIO 10252ab4ac2SThomas Graf tristate "Multi Band Priority Queueing (PRIO)" 10352ab4ac2SThomas Graf ---help--- 1041da177e4SLinus Torvalds Say Y here if you want to use an n-band priority queue packet 10552ab4ac2SThomas Graf scheduler. 1061da177e4SLinus Torvalds 1071da177e4SLinus Torvalds To compile this code as a module, choose M here: the 1081da177e4SLinus Torvalds module will be called sch_prio. 1091da177e4SLinus Torvalds 11092651940SAlexander Duyckconfig NET_SCH_MULTIQ 11192651940SAlexander Duyck tristate "Hardware Multiqueue-aware Multi Band Queuing (MULTIQ)" 11292651940SAlexander Duyck ---help--- 11392651940SAlexander Duyck Say Y here if you want to use an n-band queue packet scheduler 11492651940SAlexander Duyck to support devices that have multiple hardware transmit queues. 11592651940SAlexander Duyck 11692651940SAlexander Duyck To compile this code as a module, choose M here: the 11792651940SAlexander Duyck module will be called sch_multiq. 11892651940SAlexander Duyck 1191da177e4SLinus Torvaldsconfig NET_SCH_RED 12052ab4ac2SThomas Graf tristate "Random Early Detection (RED)" 12152ab4ac2SThomas Graf ---help--- 1221da177e4SLinus Torvalds Say Y here if you want to use the Random Early Detection (RED) 12352ab4ac2SThomas Graf packet scheduling algorithm. 12452ab4ac2SThomas Graf 12552ab4ac2SThomas Graf See the top of <file:net/sched/sch_red.c> for more details. 1261da177e4SLinus Torvalds 1271da177e4SLinus Torvalds To compile this code as a module, choose M here: the 1281da177e4SLinus Torvalds module will be called sch_red. 1291da177e4SLinus Torvalds 130e13e02a3SEric Dumazetconfig NET_SCH_SFB 131e13e02a3SEric Dumazet tristate "Stochastic Fair Blue (SFB)" 132e13e02a3SEric Dumazet ---help--- 133e13e02a3SEric Dumazet Say Y here if you want to use the Stochastic Fair Blue (SFB) 134e13e02a3SEric Dumazet packet scheduling algorithm. 135e13e02a3SEric Dumazet 136e13e02a3SEric Dumazet See the top of <file:net/sched/sch_sfb.c> for more details. 137e13e02a3SEric Dumazet 138e13e02a3SEric Dumazet To compile this code as a module, choose M here: the 139e13e02a3SEric Dumazet module will be called sch_sfb. 140e13e02a3SEric Dumazet 1411da177e4SLinus Torvaldsconfig NET_SCH_SFQ 14252ab4ac2SThomas Graf tristate "Stochastic Fairness Queueing (SFQ)" 1431da177e4SLinus Torvalds ---help--- 1441da177e4SLinus Torvalds Say Y here if you want to use the Stochastic Fairness Queueing (SFQ) 14552ab4ac2SThomas Graf packet scheduling algorithm. 14652ab4ac2SThomas Graf 14752ab4ac2SThomas Graf See the top of <file:net/sched/sch_sfq.c> for more details. 1481da177e4SLinus Torvalds 1491da177e4SLinus Torvalds To compile this code as a module, choose M here: the 1501da177e4SLinus Torvalds module will be called sch_sfq. 1511da177e4SLinus Torvalds 1521da177e4SLinus Torvaldsconfig NET_SCH_TEQL 15352ab4ac2SThomas Graf tristate "True Link Equalizer (TEQL)" 1541da177e4SLinus Torvalds ---help--- 1551da177e4SLinus Torvalds Say Y here if you want to use the True Link Equalizer (TLE) packet 15652ab4ac2SThomas Graf scheduling algorithm. This queueing discipline allows the combination 15752ab4ac2SThomas Graf of several physical devices into one virtual device. 15852ab4ac2SThomas Graf 15952ab4ac2SThomas Graf See the top of <file:net/sched/sch_teql.c> for more details. 1601da177e4SLinus Torvalds 1611da177e4SLinus Torvalds To compile this code as a module, choose M here: the 1621da177e4SLinus Torvalds module will be called sch_teql. 1631da177e4SLinus Torvalds 1641da177e4SLinus Torvaldsconfig NET_SCH_TBF 16552ab4ac2SThomas Graf tristate "Token Bucket Filter (TBF)" 16652ab4ac2SThomas Graf ---help--- 16752ab4ac2SThomas Graf Say Y here if you want to use the Token Bucket Filter (TBF) packet 16852ab4ac2SThomas Graf scheduling algorithm. 16952ab4ac2SThomas Graf 17052ab4ac2SThomas Graf See the top of <file:net/sched/sch_tbf.c> for more details. 1711da177e4SLinus Torvalds 1721da177e4SLinus Torvalds To compile this code as a module, choose M here: the 1731da177e4SLinus Torvalds module will be called sch_tbf. 1741da177e4SLinus Torvalds 1751da177e4SLinus Torvaldsconfig NET_SCH_GRED 17652ab4ac2SThomas Graf tristate "Generic Random Early Detection (GRED)" 17752ab4ac2SThomas Graf ---help--- 1781da177e4SLinus Torvalds Say Y here if you want to use the Generic Random Early Detection 17920cc6befSLucas Correia Villa Real (GRED) packet scheduling algorithm for some of your network devices 1801da177e4SLinus Torvalds (see the top of <file:net/sched/sch_red.c> for details and 1811da177e4SLinus Torvalds references about the algorithm). 1821da177e4SLinus Torvalds 1831da177e4SLinus Torvalds To compile this code as a module, choose M here: the 1841da177e4SLinus Torvalds module will be called sch_gred. 1851da177e4SLinus Torvalds 1861da177e4SLinus Torvaldsconfig NET_SCH_DSMARK 18752ab4ac2SThomas Graf tristate "Differentiated Services marker (DSMARK)" 18852ab4ac2SThomas Graf ---help--- 1891da177e4SLinus Torvalds Say Y if you want to schedule packets according to the 1901da177e4SLinus Torvalds Differentiated Services architecture proposed in RFC 2475. 1911da177e4SLinus Torvalds Technical information on this method, with pointers to associated 1921da177e4SLinus Torvalds RFCs, is available at <http://www.gta.ufrj.br/diffserv/>. 1931da177e4SLinus Torvalds 1941da177e4SLinus Torvalds To compile this code as a module, choose M here: the 1951da177e4SLinus Torvalds module will be called sch_dsmark. 1961da177e4SLinus Torvalds 1971da177e4SLinus Torvaldsconfig NET_SCH_NETEM 19852ab4ac2SThomas Graf tristate "Network emulator (NETEM)" 19952ab4ac2SThomas Graf ---help--- 2001da177e4SLinus Torvalds Say Y if you want to emulate network delay, loss, and packet 2011da177e4SLinus Torvalds re-ordering. This is often useful to simulate networks when 2021da177e4SLinus Torvalds testing applications or protocols. 2031da177e4SLinus Torvalds 2041da177e4SLinus Torvalds To compile this driver as a module, choose M here: the module 2051da177e4SLinus Torvalds will be called sch_netem. 2061da177e4SLinus Torvalds 2071da177e4SLinus Torvalds If unsure, say N. 2081da177e4SLinus Torvalds 20913d2a1d2SPatrick McHardyconfig NET_SCH_DRR 21013d2a1d2SPatrick McHardy tristate "Deficit Round Robin scheduler (DRR)" 21113d2a1d2SPatrick McHardy help 21213d2a1d2SPatrick McHardy Say Y here if you want to use the Deficit Round Robin (DRR) packet 21313d2a1d2SPatrick McHardy scheduling algorithm. 21413d2a1d2SPatrick McHardy 21513d2a1d2SPatrick McHardy To compile this driver as a module, choose M here: the module 21613d2a1d2SPatrick McHardy will be called sch_drr. 21713d2a1d2SPatrick McHardy 21813d2a1d2SPatrick McHardy If unsure, say N. 21913d2a1d2SPatrick McHardy 220b8970f0bSJohn Fastabendconfig NET_SCH_MQPRIO 221b8970f0bSJohn Fastabend tristate "Multi-queue priority scheduler (MQPRIO)" 222b8970f0bSJohn Fastabend help 223b8970f0bSJohn Fastabend Say Y here if you want to use the Multi-queue Priority scheduler. 224b8970f0bSJohn Fastabend This scheduler allows QOS to be offloaded on NICs that have support 225b8970f0bSJohn Fastabend for offloading QOS schedulers. 226b8970f0bSJohn Fastabend 227b8970f0bSJohn Fastabend To compile this driver as a module, choose M here: the module will 228b8970f0bSJohn Fastabend be called sch_mqprio. 229b8970f0bSJohn Fastabend 230b8970f0bSJohn Fastabend If unsure, say N. 231b8970f0bSJohn Fastabend 23245e14433Sstephen hemmingerconfig NET_SCH_CHOKE 23345e14433Sstephen hemminger tristate "CHOose and Keep responsive flow scheduler (CHOKE)" 23445e14433Sstephen hemminger help 23545e14433Sstephen hemminger Say Y here if you want to use the CHOKe packet scheduler (CHOose 23645e14433Sstephen hemminger and Keep for responsive flows, CHOose and Kill for unresponsive 23745e14433Sstephen hemminger flows). This is a variation of RED which trys to penalize flows 23845e14433Sstephen hemminger that monopolize the queue. 23945e14433Sstephen hemminger 24045e14433Sstephen hemminger To compile this code as a module, choose M here: the 24145e14433Sstephen hemminger module will be called sch_choke. 24245e14433Sstephen hemminger 2430545a303Sstephen hemmingerconfig NET_SCH_QFQ 2440545a303Sstephen hemminger tristate "Quick Fair Queueing scheduler (QFQ)" 2450545a303Sstephen hemminger help 2460545a303Sstephen hemminger Say Y here if you want to use the Quick Fair Queueing Scheduler (QFQ) 2470545a303Sstephen hemminger packet scheduling algorithm. 2480545a303Sstephen hemminger 2490545a303Sstephen hemminger To compile this driver as a module, choose M here: the module 2500545a303Sstephen hemminger will be called sch_qfq. 2510545a303Sstephen hemminger 2520545a303Sstephen hemminger If unsure, say N. 2530545a303Sstephen hemminger 25476e3cc12SEric Dumazetconfig NET_SCH_CODEL 25576e3cc12SEric Dumazet tristate "Controlled Delay AQM (CODEL)" 25676e3cc12SEric Dumazet help 25776e3cc12SEric Dumazet Say Y here if you want to use the Controlled Delay (CODEL) 25876e3cc12SEric Dumazet packet scheduling algorithm. 25976e3cc12SEric Dumazet 26076e3cc12SEric Dumazet To compile this driver as a module, choose M here: the module 26176e3cc12SEric Dumazet will be called sch_codel. 26276e3cc12SEric Dumazet 26376e3cc12SEric Dumazet If unsure, say N. 26476e3cc12SEric Dumazet 2654b549a2eSEric Dumazetconfig NET_SCH_FQ_CODEL 2664b549a2eSEric Dumazet tristate "Fair Queue Controlled Delay AQM (FQ_CODEL)" 2674b549a2eSEric Dumazet help 2684b549a2eSEric Dumazet Say Y here if you want to use the FQ Controlled Delay (FQ_CODEL) 2694b549a2eSEric Dumazet packet scheduling algorithm. 2704b549a2eSEric Dumazet 2714b549a2eSEric Dumazet To compile this driver as a module, choose M here: the module 2724b549a2eSEric Dumazet will be called sch_fq_codel. 2734b549a2eSEric Dumazet 2744b549a2eSEric Dumazet If unsure, say N. 2754b549a2eSEric Dumazet 276afe4fd06SEric Dumazetconfig NET_SCH_FQ 277afe4fd06SEric Dumazet tristate "Fair Queue" 278afe4fd06SEric Dumazet help 279afe4fd06SEric Dumazet Say Y here if you want to use the FQ packet scheduling algorithm. 280afe4fd06SEric Dumazet 281afe4fd06SEric Dumazet FQ does flow separation, and is able to respect pacing requirements 282afe4fd06SEric Dumazet set by TCP stack into sk->sk_pacing_rate (for localy generated 283afe4fd06SEric Dumazet traffic) 284afe4fd06SEric Dumazet 285afe4fd06SEric Dumazet To compile this driver as a module, choose M here: the module 286afe4fd06SEric Dumazet will be called sch_fq. 287afe4fd06SEric Dumazet 288afe4fd06SEric Dumazet If unsure, say N. 289afe4fd06SEric Dumazet 29010239edfSTerry Lamconfig NET_SCH_HHF 29110239edfSTerry Lam tristate "Heavy-Hitter Filter (HHF)" 29210239edfSTerry Lam help 29310239edfSTerry Lam Say Y here if you want to use the Heavy-Hitter Filter (HHF) 29410239edfSTerry Lam packet scheduling algorithm. 29510239edfSTerry Lam 29610239edfSTerry Lam To compile this driver as a module, choose M here: the module 29710239edfSTerry Lam will be called sch_hhf. 29810239edfSTerry Lam 299d4b36210SVijay Subramanianconfig NET_SCH_PIE 300d4b36210SVijay Subramanian tristate "Proportional Integral controller Enhanced (PIE) scheduler" 301d4b36210SVijay Subramanian help 302d4b36210SVijay Subramanian Say Y here if you want to use the Proportional Integral controller 303d4b36210SVijay Subramanian Enhanced scheduler packet scheduling algorithm. 304d4b36210SVijay Subramanian For more information, please see 305d4b36210SVijay Subramanian http://tools.ietf.org/html/draft-pan-tsvwg-pie-00 306d4b36210SVijay Subramanian 307d4b36210SVijay Subramanian To compile this driver as a module, choose M here: the module 308d4b36210SVijay Subramanian will be called sch_pie. 309d4b36210SVijay Subramanian 310d4b36210SVijay Subramanian If unsure, say N. 311d4b36210SVijay Subramanian 3121da177e4SLinus Torvaldsconfig NET_SCH_INGRESS 3131f211a1bSDaniel Borkmann tristate "Ingress/classifier-action Qdisc" 31472eb7bd2SPatrick McHardy depends on NET_CLS_ACT 3151cf51900SPablo Neira select NET_INGRESS 3161f211a1bSDaniel Borkmann select NET_EGRESS 31752ab4ac2SThomas Graf ---help--- 3181f211a1bSDaniel Borkmann Say Y here if you want to use classifiers for incoming and/or outgoing 3191f211a1bSDaniel Borkmann packets. This qdisc doesn't do anything else besides running classifiers, 3201f211a1bSDaniel Borkmann which can also have actions attached to them. In case of outgoing packets, 3211f211a1bSDaniel Borkmann classifiers that this qdisc holds are executed in the transmit path 3221f211a1bSDaniel Borkmann before real enqueuing to an egress qdisc happens. 3231f211a1bSDaniel Borkmann 3241da177e4SLinus Torvalds If unsure, say Y. 3251da177e4SLinus Torvalds 3261f211a1bSDaniel Borkmann To compile this code as a module, choose M here: the module will be 3271f211a1bSDaniel Borkmann called sch_ingress with alias of sch_clsact. 3281da177e4SLinus Torvalds 329c3059be1SShriram Rajagopalanconfig NET_SCH_PLUG 330c3059be1SShriram Rajagopalan tristate "Plug network traffic until release (PLUG)" 331c3059be1SShriram Rajagopalan ---help--- 332c3059be1SShriram Rajagopalan 333c3059be1SShriram Rajagopalan This queuing discipline allows userspace to plug/unplug a network 334c3059be1SShriram Rajagopalan output queue, using the netlink interface. When it receives an 335c3059be1SShriram Rajagopalan enqueue command it inserts a plug into the outbound queue that 336c3059be1SShriram Rajagopalan causes following packets to enqueue until a dequeue command arrives 337c3059be1SShriram Rajagopalan over netlink, causing the plug to be removed and resuming the normal 338c3059be1SShriram Rajagopalan packet flow. 339c3059be1SShriram Rajagopalan 340c3059be1SShriram Rajagopalan This module also provides a generic "network output buffering" 341c3059be1SShriram Rajagopalan functionality (aka output commit), wherein upon arrival of a dequeue 342c3059be1SShriram Rajagopalan command, only packets up to the first plug are released for delivery. 343c3059be1SShriram Rajagopalan The Remus HA project uses this module to enable speculative execution 344c3059be1SShriram Rajagopalan of virtual machines by allowing the generated network output to be rolled 345c3059be1SShriram Rajagopalan back if needed. 346c3059be1SShriram Rajagopalan 3475d330cddSAndrew Shewmaker For more information, please refer to <http://wiki.xenproject.org/wiki/Remus> 348c3059be1SShriram Rajagopalan 349c3059be1SShriram Rajagopalan Say Y here if you are using this kernel for Xen dom0 and 350c3059be1SShriram Rajagopalan want to protect Xen guests with Remus. 351c3059be1SShriram Rajagopalan 352c3059be1SShriram Rajagopalan To compile this code as a module, choose M here: the 353c3059be1SShriram Rajagopalan module will be called sch_plug. 354c3059be1SShriram Rajagopalan 35552ab4ac2SThomas Grafcomment "Classification" 3561da177e4SLinus Torvalds 3571da177e4SLinus Torvaldsconfig NET_CLS 3586341e62bSChristoph Jaeger bool 3591da177e4SLinus Torvalds 3601da177e4SLinus Torvaldsconfig NET_CLS_BASIC 36152ab4ac2SThomas Graf tristate "Elementary classification (BASIC)" 36252ab4ac2SThomas Graf select NET_CLS 3631da177e4SLinus Torvalds ---help--- 3641da177e4SLinus Torvalds Say Y here if you want to be able to classify packets using 3651da177e4SLinus Torvalds only extended matches and actions. 3661da177e4SLinus Torvalds 3671da177e4SLinus Torvalds To compile this code as a module, choose M here: the 3681da177e4SLinus Torvalds module will be called cls_basic. 3691da177e4SLinus Torvalds 3701da177e4SLinus Torvaldsconfig NET_CLS_TCINDEX 37152ab4ac2SThomas Graf tristate "Traffic-Control Index (TCINDEX)" 37252ab4ac2SThomas Graf select NET_CLS 37352ab4ac2SThomas Graf ---help--- 37452ab4ac2SThomas Graf Say Y here if you want to be able to classify packets based on 37552ab4ac2SThomas Graf traffic control indices. You will want this feature if you want 37652ab4ac2SThomas Graf to implement Differentiated Services together with DSMARK. 3771da177e4SLinus Torvalds 3781da177e4SLinus Torvalds To compile this code as a module, choose M here: the 3791da177e4SLinus Torvalds module will be called cls_tcindex. 3801da177e4SLinus Torvalds 3811da177e4SLinus Torvaldsconfig NET_CLS_ROUTE4 38252ab4ac2SThomas Graf tristate "Routing decision (ROUTE)" 383034cfe48SRandy Dunlap depends on INET 384c7066f70SPatrick McHardy select IP_ROUTE_CLASSID 38552ab4ac2SThomas Graf select NET_CLS 38652ab4ac2SThomas Graf ---help--- 38752ab4ac2SThomas Graf If you say Y here, you will be able to classify packets 38852ab4ac2SThomas Graf according to the route table entry they matched. 3891da177e4SLinus Torvalds 3901da177e4SLinus Torvalds To compile this code as a module, choose M here: the 3911da177e4SLinus Torvalds module will be called cls_route. 3921da177e4SLinus Torvalds 3931da177e4SLinus Torvaldsconfig NET_CLS_FW 39452ab4ac2SThomas Graf tristate "Netfilter mark (FW)" 39552ab4ac2SThomas Graf select NET_CLS 39652ab4ac2SThomas Graf ---help--- 39752ab4ac2SThomas Graf If you say Y here, you will be able to classify packets 39852ab4ac2SThomas Graf according to netfilter/firewall marks. 3991da177e4SLinus Torvalds 4001da177e4SLinus Torvalds To compile this code as a module, choose M here: the 4011da177e4SLinus Torvalds module will be called cls_fw. 4021da177e4SLinus Torvalds 4031da177e4SLinus Torvaldsconfig NET_CLS_U32 40452ab4ac2SThomas Graf tristate "Universal 32bit comparisons w/ hashing (U32)" 40552ab4ac2SThomas Graf select NET_CLS 40652ab4ac2SThomas Graf ---help--- 4073539c272SMatt LaPlante Say Y here to be able to classify packets using a universal 40852ab4ac2SThomas Graf 32bit pieces based comparison scheme. 4091da177e4SLinus Torvalds 4101da177e4SLinus Torvalds To compile this code as a module, choose M here: the 4111da177e4SLinus Torvalds module will be called cls_u32. 4121da177e4SLinus Torvalds 4131da177e4SLinus Torvaldsconfig CLS_U32_PERF 41452ab4ac2SThomas Graf bool "Performance counters support" 4151da177e4SLinus Torvalds depends on NET_CLS_U32 41652ab4ac2SThomas Graf ---help--- 41752ab4ac2SThomas Graf Say Y here to make u32 gather additional statistics useful for 41852ab4ac2SThomas Graf fine tuning u32 classifiers. 4191da177e4SLinus Torvalds 4201da177e4SLinus Torvaldsconfig CLS_U32_MARK 42152ab4ac2SThomas Graf bool "Netfilter marks support" 42282e91ffeSThomas Graf depends on NET_CLS_U32 42352ab4ac2SThomas Graf ---help--- 42452ab4ac2SThomas Graf Say Y here to be able to use netfilter marks as u32 key. 4251da177e4SLinus Torvalds 4261da177e4SLinus Torvaldsconfig NET_CLS_RSVP 42752ab4ac2SThomas Graf tristate "IPv4 Resource Reservation Protocol (RSVP)" 42852ab4ac2SThomas Graf select NET_CLS 4291da177e4SLinus Torvalds ---help--- 4301da177e4SLinus Torvalds The Resource Reservation Protocol (RSVP) permits end systems to 4311da177e4SLinus Torvalds request a minimum and maximum data flow rate for a connection; this 4321da177e4SLinus Torvalds is important for real time data such as streaming sound or video. 4331da177e4SLinus Torvalds 4341da177e4SLinus Torvalds Say Y here if you want to be able to classify outgoing packets based 4351da177e4SLinus Torvalds on their RSVP requests. 4361da177e4SLinus Torvalds 4371da177e4SLinus Torvalds To compile this code as a module, choose M here: the 4381da177e4SLinus Torvalds module will be called cls_rsvp. 4391da177e4SLinus Torvalds 4401da177e4SLinus Torvaldsconfig NET_CLS_RSVP6 44152ab4ac2SThomas Graf tristate "IPv6 Resource Reservation Protocol (RSVP6)" 44252ab4ac2SThomas Graf select NET_CLS 4431da177e4SLinus Torvalds ---help--- 4441da177e4SLinus Torvalds The Resource Reservation Protocol (RSVP) permits end systems to 4451da177e4SLinus Torvalds request a minimum and maximum data flow rate for a connection; this 4461da177e4SLinus Torvalds is important for real time data such as streaming sound or video. 4471da177e4SLinus Torvalds 4481da177e4SLinus Torvalds Say Y here if you want to be able to classify outgoing packets based 44999acaeb9SGabriel Craciunescu on their RSVP requests and you are using the IPv6 protocol. 4501da177e4SLinus Torvalds 4511da177e4SLinus Torvalds To compile this code as a module, choose M here: the 4521da177e4SLinus Torvalds module will be called cls_rsvp6. 4531da177e4SLinus Torvalds 454e5dfb815SPatrick McHardyconfig NET_CLS_FLOW 455e5dfb815SPatrick McHardy tristate "Flow classifier" 456e5dfb815SPatrick McHardy select NET_CLS 457e5dfb815SPatrick McHardy ---help--- 458e5dfb815SPatrick McHardy If you say Y here, you will be able to classify packets based on 459e5dfb815SPatrick McHardy a configurable combination of packet keys. This is mostly useful 460e5dfb815SPatrick McHardy in combination with SFQ. 461e5dfb815SPatrick McHardy 462e5dfb815SPatrick McHardy To compile this code as a module, choose M here: the 463e5dfb815SPatrick McHardy module will be called cls_flow. 464e5dfb815SPatrick McHardy 465f4009237SThomas Grafconfig NET_CLS_CGROUP 4668e039d84SBen Blum tristate "Control Group Classifier" 467f4009237SThomas Graf select NET_CLS 468fe1217c4SDaniel Borkmann select CGROUP_NET_CLASSID 469f4009237SThomas Graf depends on CGROUPS 470f4009237SThomas Graf ---help--- 471f4009237SThomas Graf Say Y here if you want to classify packets based on the control 472f4009237SThomas Graf cgroup of their process. 473f4009237SThomas Graf 4748e039d84SBen Blum To compile this code as a module, choose M here: the 4758e039d84SBen Blum module will be called cls_cgroup. 4768e039d84SBen Blum 4777d1d65cbSDaniel Borkmannconfig NET_CLS_BPF 4787d1d65cbSDaniel Borkmann tristate "BPF-based classifier" 4797d1d65cbSDaniel Borkmann select NET_CLS 4807d1d65cbSDaniel Borkmann ---help--- 4817d1d65cbSDaniel Borkmann If you say Y here, you will be able to classify packets based on 4827d1d65cbSDaniel Borkmann programmable BPF (JIT'ed) filters as an alternative to ematches. 4837d1d65cbSDaniel Borkmann 4847d1d65cbSDaniel Borkmann To compile this code as a module, choose M here: the module will 4857d1d65cbSDaniel Borkmann be called cls_bpf. 4867d1d65cbSDaniel Borkmann 48777b9900eSJiri Pirkoconfig NET_CLS_FLOWER 48877b9900eSJiri Pirko tristate "Flower classifier" 48977b9900eSJiri Pirko select NET_CLS 49077b9900eSJiri Pirko ---help--- 49177b9900eSJiri Pirko If you say Y here, you will be able to classify packets based on 49277b9900eSJiri Pirko a configurable combination of packet keys and masks. 49377b9900eSJiri Pirko 49477b9900eSJiri Pirko To compile this code as a module, choose M here: the module will 49577b9900eSJiri Pirko be called cls_flower. 49677b9900eSJiri Pirko 497bf3994d2SJiri Pirkoconfig NET_CLS_MATCHALL 498bf3994d2SJiri Pirko tristate "Match-all classifier" 499bf3994d2SJiri Pirko select NET_CLS 500bf3994d2SJiri Pirko ---help--- 501bf3994d2SJiri Pirko If you say Y here, you will be able to classify packets based on 502bf3994d2SJiri Pirko nothing. Every packet will match. 503bf3994d2SJiri Pirko 504bf3994d2SJiri Pirko To compile this code as a module, choose M here: the module will 505bf3994d2SJiri Pirko be called cls_matchall. 506bf3994d2SJiri Pirko 5071da177e4SLinus Torvaldsconfig NET_EMATCH 5081da177e4SLinus Torvalds bool "Extended Matches" 50952ab4ac2SThomas Graf select NET_CLS 5101da177e4SLinus Torvalds ---help--- 5111da177e4SLinus Torvalds Say Y here if you want to use extended matches on top of classifiers 5121da177e4SLinus Torvalds and select the extended matches below. 5131da177e4SLinus Torvalds 5141da177e4SLinus Torvalds Extended matches are small classification helpers not worth writing 51552ab4ac2SThomas Graf a separate classifier for. 5161da177e4SLinus Torvalds 51752ab4ac2SThomas Graf A recent version of the iproute2 package is required to use 5181da177e4SLinus Torvalds extended matches. 5191da177e4SLinus Torvalds 5201da177e4SLinus Torvaldsconfig NET_EMATCH_STACK 5211da177e4SLinus Torvalds int "Stack size" 5221da177e4SLinus Torvalds depends on NET_EMATCH 5231da177e4SLinus Torvalds default "32" 5241da177e4SLinus Torvalds ---help--- 5251da177e4SLinus Torvalds Size of the local stack variable used while evaluating the tree of 5261da177e4SLinus Torvalds ematches. Limits the depth of the tree, i.e. the number of 527b824979aSThomas Graf encapsulated precedences. Every level requires 4 bytes of additional 5281da177e4SLinus Torvalds stack space. 5291da177e4SLinus Torvalds 5301da177e4SLinus Torvaldsconfig NET_EMATCH_CMP 5311da177e4SLinus Torvalds tristate "Simple packet data comparison" 5321da177e4SLinus Torvalds depends on NET_EMATCH 5331da177e4SLinus Torvalds ---help--- 5341da177e4SLinus Torvalds Say Y here if you want to be able to classify packets based on 5351da177e4SLinus Torvalds simple packet data comparisons for 8, 16, and 32bit values. 5361da177e4SLinus Torvalds 5371da177e4SLinus Torvalds To compile this code as a module, choose M here: the 5381da177e4SLinus Torvalds module will be called em_cmp. 5391da177e4SLinus Torvalds 5401da177e4SLinus Torvaldsconfig NET_EMATCH_NBYTE 5411da177e4SLinus Torvalds tristate "Multi byte comparison" 5421da177e4SLinus Torvalds depends on NET_EMATCH 5431da177e4SLinus Torvalds ---help--- 5441da177e4SLinus Torvalds Say Y here if you want to be able to classify packets based on 5451da177e4SLinus Torvalds multiple byte comparisons mainly useful for IPv6 address comparisons. 5461da177e4SLinus Torvalds 5471da177e4SLinus Torvalds To compile this code as a module, choose M here: the 5481da177e4SLinus Torvalds module will be called em_nbyte. 5491da177e4SLinus Torvalds 5501da177e4SLinus Torvaldsconfig NET_EMATCH_U32 55152ab4ac2SThomas Graf tristate "U32 key" 5521da177e4SLinus Torvalds depends on NET_EMATCH 5531da177e4SLinus Torvalds ---help--- 5541da177e4SLinus Torvalds Say Y here if you want to be able to classify packets using 5551da177e4SLinus Torvalds the famous u32 key in combination with logic relations. 5561da177e4SLinus Torvalds 5571da177e4SLinus Torvalds To compile this code as a module, choose M here: the 5581da177e4SLinus Torvalds module will be called em_u32. 5591da177e4SLinus Torvalds 5601da177e4SLinus Torvaldsconfig NET_EMATCH_META 5611da177e4SLinus Torvalds tristate "Metadata" 5621da177e4SLinus Torvalds depends on NET_EMATCH 5631da177e4SLinus Torvalds ---help--- 564bb7e8c5aSAdrian Bunk Say Y here if you want to be able to classify packets based on 5651da177e4SLinus Torvalds metadata such as load average, netfilter attributes, socket 5661da177e4SLinus Torvalds attributes and routing decisions. 5671da177e4SLinus Torvalds 5681da177e4SLinus Torvalds To compile this code as a module, choose M here: the 5691da177e4SLinus Torvalds module will be called em_meta. 5701da177e4SLinus Torvalds 571d675c989SThomas Grafconfig NET_EMATCH_TEXT 572d675c989SThomas Graf tristate "Textsearch" 573d675c989SThomas Graf depends on NET_EMATCH 574f2d368faSDavid S. Miller select TEXTSEARCH 575f7704347SDavid S. Miller select TEXTSEARCH_KMP 57629cb9f9cSDavid S. Miller select TEXTSEARCH_BM 577f7704347SDavid S. Miller select TEXTSEARCH_FSM 578d675c989SThomas Graf ---help--- 57952ab4ac2SThomas Graf Say Y here if you want to be able to classify packets based on 580f7704347SDavid S. Miller textsearch comparisons. 581d675c989SThomas Graf 582d675c989SThomas Graf To compile this code as a module, choose M here: the 583d675c989SThomas Graf module will be called em_text. 584d675c989SThomas Graf 585f057bbb6SRostislav Lisovyconfig NET_EMATCH_CANID 586f057bbb6SRostislav Lisovy tristate "CAN Identifier" 587a303fbf3SMarc Kleine-Budde depends on NET_EMATCH && (CAN=y || CAN=m) 588f057bbb6SRostislav Lisovy ---help--- 589f057bbb6SRostislav Lisovy Say Y here if you want to be able to classify CAN frames based 590f057bbb6SRostislav Lisovy on CAN Identifier. 591f057bbb6SRostislav Lisovy 592f057bbb6SRostislav Lisovy To compile this code as a module, choose M here: the 593f057bbb6SRostislav Lisovy module will be called em_canid. 594f057bbb6SRostislav Lisovy 5956d4fa852SFlorian Westphalconfig NET_EMATCH_IPSET 5966d4fa852SFlorian Westphal tristate "IPset" 5976d4fa852SFlorian Westphal depends on NET_EMATCH && IP_SET 5986d4fa852SFlorian Westphal ---help--- 5996d4fa852SFlorian Westphal Say Y here if you want to be able to classify packets based on 6006d4fa852SFlorian Westphal ipset membership. 6016d4fa852SFlorian Westphal 6026d4fa852SFlorian Westphal To compile this code as a module, choose M here: the 6036d4fa852SFlorian Westphal module will be called em_ipset. 6046d4fa852SFlorian Westphal 6051da177e4SLinus Torvaldsconfig NET_CLS_ACT 60652ab4ac2SThomas Graf bool "Actions" 6071da177e4SLinus Torvalds ---help--- 60852ab4ac2SThomas Graf Say Y here if you want to use traffic control actions. Actions 60952ab4ac2SThomas Graf get attached to classifiers and are invoked after a successful 61052ab4ac2SThomas Graf classification. They are used to overwrite the classification 61152ab4ac2SThomas Graf result, instantly drop or redirect packets, etc. 61252ab4ac2SThomas Graf 61352ab4ac2SThomas Graf A recent version of the iproute2 package is required to use 61452ab4ac2SThomas Graf extended matches. 6151da177e4SLinus Torvalds 6161da177e4SLinus Torvaldsconfig NET_ACT_POLICE 61752ab4ac2SThomas Graf tristate "Traffic Policing" 6181da177e4SLinus Torvalds depends on NET_CLS_ACT 6191da177e4SLinus Torvalds ---help--- 62052ab4ac2SThomas Graf Say Y here if you want to do traffic policing, i.e. strict 62152ab4ac2SThomas Graf bandwidth limiting. This action replaces the existing policing 62252ab4ac2SThomas Graf module. 62352ab4ac2SThomas Graf 62452ab4ac2SThomas Graf To compile this code as a module, choose M here: the 625d4ae20b3SJan Luebbe module will be called act_police. 6261da177e4SLinus Torvalds 6271da177e4SLinus Torvaldsconfig NET_ACT_GACT 62852ab4ac2SThomas Graf tristate "Generic actions" 6291da177e4SLinus Torvalds depends on NET_CLS_ACT 6301da177e4SLinus Torvalds ---help--- 63152ab4ac2SThomas Graf Say Y here to take generic actions such as dropping and 63252ab4ac2SThomas Graf accepting packets. 63352ab4ac2SThomas Graf 63452ab4ac2SThomas Graf To compile this code as a module, choose M here: the 635d4ae20b3SJan Luebbe module will be called act_gact. 6361da177e4SLinus Torvalds 6371da177e4SLinus Torvaldsconfig GACT_PROB 63852ab4ac2SThomas Graf bool "Probability support" 6391da177e4SLinus Torvalds depends on NET_ACT_GACT 6401da177e4SLinus Torvalds ---help--- 64152ab4ac2SThomas Graf Say Y here to use the generic action randomly or deterministically. 6421da177e4SLinus Torvalds 6431da177e4SLinus Torvaldsconfig NET_ACT_MIRRED 64452ab4ac2SThomas Graf tristate "Redirecting and Mirroring" 6451da177e4SLinus Torvalds depends on NET_CLS_ACT 6461da177e4SLinus Torvalds ---help--- 64752ab4ac2SThomas Graf Say Y here to allow packets to be mirrored or redirected to 64852ab4ac2SThomas Graf other devices. 64952ab4ac2SThomas Graf 65052ab4ac2SThomas Graf To compile this code as a module, choose M here: the 651d4ae20b3SJan Luebbe module will be called act_mirred. 6521da177e4SLinus Torvalds 6535c5670faSYotam Gigiconfig NET_ACT_SAMPLE 6545c5670faSYotam Gigi tristate "Traffic Sampling" 6555c5670faSYotam Gigi depends on NET_CLS_ACT 6565c5670faSYotam Gigi select PSAMPLE 6575c5670faSYotam Gigi ---help--- 6585c5670faSYotam Gigi Say Y here to allow packet sampling tc action. The packet sample 6595c5670faSYotam Gigi action consists of statistically choosing packets and sampling 6605c5670faSYotam Gigi them using the psample module. 6615c5670faSYotam Gigi 6625c5670faSYotam Gigi To compile this code as a module, choose M here: the 6635c5670faSYotam Gigi module will be called act_sample. 6645c5670faSYotam Gigi 6651da177e4SLinus Torvaldsconfig NET_ACT_IPT 66652ab4ac2SThomas Graf tristate "IPtables targets" 6671da177e4SLinus Torvalds depends on NET_CLS_ACT && NETFILTER && IP_NF_IPTABLES 6681da177e4SLinus Torvalds ---help--- 6693539c272SMatt LaPlante Say Y here to be able to invoke iptables targets after successful 67052ab4ac2SThomas Graf classification. 67152ab4ac2SThomas Graf 67252ab4ac2SThomas Graf To compile this code as a module, choose M here: the 673d4ae20b3SJan Luebbe module will be called act_ipt. 6741da177e4SLinus Torvalds 675b4219952SHerbert Xuconfig NET_ACT_NAT 676b4219952SHerbert Xu tristate "Stateless NAT" 677b4219952SHerbert Xu depends on NET_CLS_ACT 678b4219952SHerbert Xu ---help--- 679b4219952SHerbert Xu Say Y here to do stateless NAT on IPv4 packets. You should use 680b4219952SHerbert Xu netfilter for NAT unless you know what you are doing. 681b4219952SHerbert Xu 682b4219952SHerbert Xu To compile this code as a module, choose M here: the 683d4ae20b3SJan Luebbe module will be called act_nat. 684b4219952SHerbert Xu 6851da177e4SLinus Torvaldsconfig NET_ACT_PEDIT 68652ab4ac2SThomas Graf tristate "Packet Editing" 6871da177e4SLinus Torvalds depends on NET_CLS_ACT 6881da177e4SLinus Torvalds ---help--- 68952ab4ac2SThomas Graf Say Y here if you want to mangle the content of packets. 6901da177e4SLinus Torvalds 69152ab4ac2SThomas Graf To compile this code as a module, choose M here: the 692d4ae20b3SJan Luebbe module will be called act_pedit. 6931da177e4SLinus Torvalds 694db753079SJamal Hadi Salimconfig NET_ACT_SIMP 69552ab4ac2SThomas Graf tristate "Simple Example (Debug)" 696db753079SJamal Hadi Salim depends on NET_CLS_ACT 697db753079SJamal Hadi Salim ---help--- 69852ab4ac2SThomas Graf Say Y here to add a simple action for demonstration purposes. 69952ab4ac2SThomas Graf It is meant as an example and for debugging purposes. It will 70052ab4ac2SThomas Graf print a configured policy string followed by the packet count 70152ab4ac2SThomas Graf to the console for every packet that passes by. 702db753079SJamal Hadi Salim 70352ab4ac2SThomas Graf If unsure, say N. 70452ab4ac2SThomas Graf 70552ab4ac2SThomas Graf To compile this code as a module, choose M here: the 706d4ae20b3SJan Luebbe module will be called act_simple. 70752ab4ac2SThomas Graf 708ca9b0e27SAlexander Duyckconfig NET_ACT_SKBEDIT 709ca9b0e27SAlexander Duyck tristate "SKB Editing" 710ca9b0e27SAlexander Duyck depends on NET_CLS_ACT 711ca9b0e27SAlexander Duyck ---help--- 712ca9b0e27SAlexander Duyck Say Y here to change skb priority or queue_mapping settings. 713ca9b0e27SAlexander Duyck 714ca9b0e27SAlexander Duyck If unsure, say N. 715ca9b0e27SAlexander Duyck 716ca9b0e27SAlexander Duyck To compile this code as a module, choose M here: the 717d4ae20b3SJan Luebbe module will be called act_skbedit. 718ca9b0e27SAlexander Duyck 719eb4d4065SGrégoire Baronconfig NET_ACT_CSUM 720eb4d4065SGrégoire Baron tristate "Checksum Updating" 7217abac686SDavid S. Miller depends on NET_CLS_ACT && INET 722ab9d226eSDavide Caratti select LIBCRC32C 723eb4d4065SGrégoire Baron ---help--- 724eb4d4065SGrégoire Baron Say Y here to update some common checksum after some direct 725eb4d4065SGrégoire Baron packet alterations. 726eb4d4065SGrégoire Baron 727eb4d4065SGrégoire Baron To compile this code as a module, choose M here: the 728eb4d4065SGrégoire Baron module will be called act_csum. 729eb4d4065SGrégoire Baron 730c7e2b968SJiri Pirkoconfig NET_ACT_VLAN 731c7e2b968SJiri Pirko tristate "Vlan manipulation" 732c7e2b968SJiri Pirko depends on NET_CLS_ACT 733c7e2b968SJiri Pirko ---help--- 734c7e2b968SJiri Pirko Say Y here to push or pop vlan headers. 735c7e2b968SJiri Pirko 736c7e2b968SJiri Pirko If unsure, say N. 737c7e2b968SJiri Pirko 738c7e2b968SJiri Pirko To compile this code as a module, choose M here: the 739c7e2b968SJiri Pirko module will be called act_vlan. 740c7e2b968SJiri Pirko 741d23b8ad8SJiri Pirkoconfig NET_ACT_BPF 742d23b8ad8SJiri Pirko tristate "BPF based action" 743d23b8ad8SJiri Pirko depends on NET_CLS_ACT 744d23b8ad8SJiri Pirko ---help--- 745d23b8ad8SJiri Pirko Say Y here to execute BPF code on packets. The BPF code will decide 746d23b8ad8SJiri Pirko if the packet should be dropped or not. 747d23b8ad8SJiri Pirko 748d23b8ad8SJiri Pirko If unsure, say N. 749d23b8ad8SJiri Pirko 750d23b8ad8SJiri Pirko To compile this code as a module, choose M here: the 751d23b8ad8SJiri Pirko module will be called act_bpf. 752d23b8ad8SJiri Pirko 75322a5dc0eSFelix Fietkauconfig NET_ACT_CONNMARK 75422a5dc0eSFelix Fietkau tristate "Netfilter Connection Mark Retriever" 75522a5dc0eSFelix Fietkau depends on NET_CLS_ACT && NETFILTER && IP_NF_IPTABLES 7562dbce096SArnd Bergmann depends on NF_CONNTRACK && NF_CONNTRACK_MARK 75722a5dc0eSFelix Fietkau ---help--- 75822a5dc0eSFelix Fietkau Say Y here to allow retrieving of conn mark 75922a5dc0eSFelix Fietkau 76022a5dc0eSFelix Fietkau If unsure, say N. 76122a5dc0eSFelix Fietkau 76222a5dc0eSFelix Fietkau To compile this code as a module, choose M here: the 76322a5dc0eSFelix Fietkau module will be called act_connmark. 76422a5dc0eSFelix Fietkau 76586da71b5SJamal Hadi Salimconfig NET_ACT_SKBMOD 76686da71b5SJamal Hadi Salim tristate "skb data modification action" 76786da71b5SJamal Hadi Salim depends on NET_CLS_ACT 76886da71b5SJamal Hadi Salim ---help--- 76986da71b5SJamal Hadi Salim Say Y here to allow modification of skb data 77086da71b5SJamal Hadi Salim 77186da71b5SJamal Hadi Salim If unsure, say N. 77286da71b5SJamal Hadi Salim 77386da71b5SJamal Hadi Salim To compile this code as a module, choose M here: the 77486da71b5SJamal Hadi Salim module will be called act_skbmod. 77586da71b5SJamal Hadi Salim 776ef6980b6SJamal Hadi Salimconfig NET_ACT_IFE 777ef6980b6SJamal Hadi Salim tristate "Inter-FE action based on IETF ForCES InterFE LFB" 778ef6980b6SJamal Hadi Salim depends on NET_CLS_ACT 779*295a6e06SYotam Gigi select NET_IFE 780ef6980b6SJamal Hadi Salim ---help--- 781ef6980b6SJamal Hadi Salim Say Y here to allow for sourcing and terminating metadata 782ef6980b6SJamal Hadi Salim For details refer to netdev01 paper: 783ef6980b6SJamal Hadi Salim "Distributing Linux Traffic Control Classifier-Action Subsystem" 784ef6980b6SJamal Hadi Salim Authors: Jamal Hadi Salim and Damascene M. Joachimpillai 785ef6980b6SJamal Hadi Salim 786ef6980b6SJamal Hadi Salim To compile this code as a module, choose M here: the 787ef6980b6SJamal Hadi Salim module will be called act_ife. 788ef6980b6SJamal Hadi Salim 789d0f6dd8aSAmir Vadaiconfig NET_ACT_TUNNEL_KEY 790d0f6dd8aSAmir Vadai tristate "IP tunnel metadata manipulation" 791d0f6dd8aSAmir Vadai depends on NET_CLS_ACT 792d0f6dd8aSAmir Vadai ---help--- 793d0f6dd8aSAmir Vadai Say Y here to set/release ip tunnel metadata. 794d0f6dd8aSAmir Vadai 795d0f6dd8aSAmir Vadai If unsure, say N. 796d0f6dd8aSAmir Vadai 797d0f6dd8aSAmir Vadai To compile this code as a module, choose M here: the 798d0f6dd8aSAmir Vadai module will be called act_tunnel_key. 799d0f6dd8aSAmir Vadai 800084e2f65SJamal Hadi Salimconfig NET_IFE_SKBMARK 801084e2f65SJamal Hadi Salim tristate "Support to encoding decoding skb mark on IFE action" 802084e2f65SJamal Hadi Salim depends on NET_ACT_IFE 803084e2f65SJamal Hadi Salim ---help--- 804084e2f65SJamal Hadi Salim 805200e10f4SJamal Hadi Salimconfig NET_IFE_SKBPRIO 806200e10f4SJamal Hadi Salim tristate "Support to encoding decoding skb prio on IFE action" 807200e10f4SJamal Hadi Salim depends on NET_ACT_IFE 808200e10f4SJamal Hadi Salim ---help--- 809200e10f4SJamal Hadi Salim 810408fbc22SJamal Hadi Salimconfig NET_IFE_SKBTCINDEX 811408fbc22SJamal Hadi Salim tristate "Support to encoding decoding skb tcindex on IFE action" 812408fbc22SJamal Hadi Salim depends on NET_ACT_IFE 813408fbc22SJamal Hadi Salim ---help--- 814408fbc22SJamal Hadi Salim 81552ab4ac2SThomas Grafconfig NET_CLS_IND 81652ab4ac2SThomas Graf bool "Incoming device classification" 81705b8b0faSRoman Zippel depends on NET_CLS_U32 || NET_CLS_FW 81852ab4ac2SThomas Graf ---help--- 81952ab4ac2SThomas Graf Say Y here to extend the u32 and fw classifier to support 82052ab4ac2SThomas Graf classification based on the incoming device. This option is 82152ab4ac2SThomas Graf likely to disappear in favour of the metadata ematch. 82252ab4ac2SThomas Graf 82305b8b0faSRoman Zippelendif # NET_SCHED 82405b8b0faSRoman Zippel 82585ef3e5cSRandy Dunlapconfig NET_SCH_FIFO 82685ef3e5cSRandy Dunlap bool 827