1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 21da177e4SLinus Torvalds# 31da177e4SLinus Torvalds# Traffic control configuration. 41da177e4SLinus Torvalds# 56a2e9b73SSam Ravnborg 685ef3e5cSRandy Dunlapmenuconfig NET_SCHED 76a2e9b73SSam Ravnborg bool "QoS and/or fair queueing" 83c62f75aSDavid Kimdon select NET_SCH_FIFO 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 1252ab4ac2SThomas Graf delay, and which ones to drop. This is the job of the queueing 1352ab4ac2SThomas 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 265d330cddSAndrew Shewmaker from the package iproute2+tc at 275d330cddSAndrew Shewmaker <https://www.kernel.org/pub/linux/utils/net/iproute2/>. That package 285d330cddSAndrew Shewmaker also contains some documentation; for more, check out 29c996d8b9SMichael Witten <http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2>. 306a2e9b73SSam Ravnborg 316a2e9b73SSam Ravnborg This Quality of Service (QoS) support will enable you to use 326a2e9b73SSam Ravnborg Differentiated Services (diffserv) and Resource Reservation Protocol 3352ab4ac2SThomas Graf (RSVP) on your Linux router if you also say Y to the corresponding 3452ab4ac2SThomas Graf classifiers below. Documentation and software is at 3552ab4ac2SThomas Graf <http://diffserv.sourceforge.net/>. 366a2e9b73SSam Ravnborg 376a2e9b73SSam Ravnborg If you say Y here and to "/proc file system" below, you will be able 386a2e9b73SSam Ravnborg to read status information about packet schedulers from the file 396a2e9b73SSam Ravnborg /proc/net/psched. 406a2e9b73SSam Ravnborg 416a2e9b73SSam Ravnborg The available schedulers are listed in the following questions; you 426a2e9b73SSam Ravnborg can say Y to as many as you like. If unsure, say N now. 436a2e9b73SSam Ravnborg 4405b8b0faSRoman Zippelif NET_SCHED 4505b8b0faSRoman Zippel 4652ab4ac2SThomas Grafcomment "Queueing/Scheduling" 4752ab4ac2SThomas Graf 481da177e4SLinus Torvaldsconfig NET_SCH_CBQ 4952ab4ac2SThomas Graf tristate "Class Based Queueing (CBQ)" 501da177e4SLinus Torvalds ---help--- 511da177e4SLinus Torvalds Say Y here if you want to use the Class-Based Queueing (CBQ) packet 5252ab4ac2SThomas Graf scheduling algorithm. This algorithm classifies the waiting packets 5352ab4ac2SThomas Graf into a tree-like hierarchy of classes; the leaves of this tree are 5452ab4ac2SThomas Graf in turn scheduled by separate algorithms. 551da177e4SLinus Torvalds 5652ab4ac2SThomas Graf See the top of <file:net/sched/sch_cbq.c> for more details. 571da177e4SLinus Torvalds 581da177e4SLinus Torvalds CBQ is a commonly used scheduler, so if you're unsure, you should 591da177e4SLinus Torvalds say Y here. Then say Y to all the queueing algorithms below that you 6052ab4ac2SThomas Graf want to use as leaf disciplines. 611da177e4SLinus Torvalds 621da177e4SLinus Torvalds To compile this code as a module, choose M here: the 631da177e4SLinus Torvalds module will be called sch_cbq. 641da177e4SLinus Torvalds 651da177e4SLinus Torvaldsconfig NET_SCH_HTB 6652ab4ac2SThomas Graf tristate "Hierarchical Token Bucket (HTB)" 671da177e4SLinus Torvalds ---help--- 681da177e4SLinus Torvalds Say Y here if you want to use the Hierarchical Token Buckets (HTB) 6952ab4ac2SThomas Graf packet scheduling algorithm. See 701da177e4SLinus Torvalds <http://luxik.cdi.cz/~devik/qos/htb/> for complete manual and 711da177e4SLinus Torvalds in-depth articles. 721da177e4SLinus Torvalds 7352ab4ac2SThomas Graf HTB is very similar to CBQ regarding its goals however is has 741da177e4SLinus Torvalds different properties and different algorithm. 751da177e4SLinus Torvalds 761da177e4SLinus Torvalds To compile this code as a module, choose M here: the 771da177e4SLinus Torvalds module will be called sch_htb. 781da177e4SLinus Torvalds 791da177e4SLinus Torvaldsconfig NET_SCH_HFSC 8052ab4ac2SThomas Graf tristate "Hierarchical Fair Service Curve (HFSC)" 811da177e4SLinus Torvalds ---help--- 821da177e4SLinus Torvalds Say Y here if you want to use the Hierarchical Fair Service Curve 8352ab4ac2SThomas Graf (HFSC) packet scheduling algorithm. 841da177e4SLinus Torvalds 851da177e4SLinus Torvalds To compile this code as a module, choose M here: the 861da177e4SLinus Torvalds module will be called sch_hfsc. 871da177e4SLinus Torvalds 881da177e4SLinus Torvaldsconfig NET_SCH_ATM 8952ab4ac2SThomas Graf tristate "ATM Virtual Circuits (ATM)" 9005b8b0faSRoman Zippel depends on ATM 911da177e4SLinus Torvalds ---help--- 921da177e4SLinus Torvalds Say Y here if you want to use the ATM pseudo-scheduler. This 9352ab4ac2SThomas Graf provides a framework for invoking classifiers, which in turn 9452ab4ac2SThomas Graf select classes of this queuing discipline. Each class maps 9552ab4ac2SThomas Graf the flow(s) it is handling to a given virtual circuit. 9652ab4ac2SThomas Graf 9799acaeb9SGabriel Craciunescu See the top of <file:net/sched/sch_atm.c> for more details. 981da177e4SLinus Torvalds 991da177e4SLinus Torvalds To compile this code as a module, choose M here: the 1001da177e4SLinus Torvalds module will be called sch_atm. 1011da177e4SLinus Torvalds 1021da177e4SLinus Torvaldsconfig NET_SCH_PRIO 10352ab4ac2SThomas Graf tristate "Multi Band Priority Queueing (PRIO)" 10452ab4ac2SThomas Graf ---help--- 1051da177e4SLinus Torvalds Say Y here if you want to use an n-band priority queue packet 10652ab4ac2SThomas Graf scheduler. 1071da177e4SLinus Torvalds 1081da177e4SLinus Torvalds To compile this code as a module, choose M here: the 1091da177e4SLinus Torvalds module will be called sch_prio. 1101da177e4SLinus Torvalds 11192651940SAlexander Duyckconfig NET_SCH_MULTIQ 11292651940SAlexander Duyck tristate "Hardware Multiqueue-aware Multi Band Queuing (MULTIQ)" 11392651940SAlexander Duyck ---help--- 11492651940SAlexander Duyck Say Y here if you want to use an n-band queue packet scheduler 11592651940SAlexander Duyck to support devices that have multiple hardware transmit queues. 11692651940SAlexander Duyck 11792651940SAlexander Duyck To compile this code as a module, choose M here: the 11892651940SAlexander Duyck module will be called sch_multiq. 11992651940SAlexander Duyck 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 131e13e02a3SEric Dumazetconfig NET_SCH_SFB 132e13e02a3SEric Dumazet tristate "Stochastic Fair Blue (SFB)" 133e13e02a3SEric Dumazet ---help--- 134e13e02a3SEric Dumazet Say Y here if you want to use the Stochastic Fair Blue (SFB) 135e13e02a3SEric Dumazet packet scheduling algorithm. 136e13e02a3SEric Dumazet 137e13e02a3SEric Dumazet See the top of <file:net/sched/sch_sfb.c> for more details. 138e13e02a3SEric Dumazet 139e13e02a3SEric Dumazet To compile this code as a module, choose M here: the 140e13e02a3SEric Dumazet module will be called sch_sfb. 141e13e02a3SEric Dumazet 1421da177e4SLinus Torvaldsconfig NET_SCH_SFQ 14352ab4ac2SThomas Graf tristate "Stochastic Fairness Queueing (SFQ)" 1441da177e4SLinus Torvalds ---help--- 1451da177e4SLinus Torvalds Say Y here if you want to use the Stochastic Fairness Queueing (SFQ) 14652ab4ac2SThomas Graf packet scheduling algorithm. 14752ab4ac2SThomas Graf 14852ab4ac2SThomas Graf See the top of <file:net/sched/sch_sfq.c> for more details. 1491da177e4SLinus Torvalds 1501da177e4SLinus Torvalds To compile this code as a module, choose M here: the 1511da177e4SLinus Torvalds module will be called sch_sfq. 1521da177e4SLinus Torvalds 1531da177e4SLinus Torvaldsconfig NET_SCH_TEQL 15452ab4ac2SThomas Graf tristate "True Link Equalizer (TEQL)" 1551da177e4SLinus Torvalds ---help--- 1561da177e4SLinus Torvalds Say Y here if you want to use the True Link Equalizer (TLE) packet 15752ab4ac2SThomas Graf scheduling algorithm. This queueing discipline allows the combination 15852ab4ac2SThomas Graf of several physical devices into one virtual device. 15952ab4ac2SThomas Graf 16052ab4ac2SThomas Graf See the top of <file:net/sched/sch_teql.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_teql. 1641da177e4SLinus Torvalds 1651da177e4SLinus Torvaldsconfig NET_SCH_TBF 16652ab4ac2SThomas Graf tristate "Token Bucket Filter (TBF)" 16752ab4ac2SThomas Graf ---help--- 16852ab4ac2SThomas Graf Say Y here if you want to use the Token Bucket Filter (TBF) packet 16952ab4ac2SThomas Graf scheduling algorithm. 17052ab4ac2SThomas Graf 17152ab4ac2SThomas Graf See the top of <file:net/sched/sch_tbf.c> for more details. 1721da177e4SLinus Torvalds 1731da177e4SLinus Torvalds To compile this code as a module, choose M here: the 1741da177e4SLinus Torvalds module will be called sch_tbf. 1751da177e4SLinus Torvalds 176585d763aSVinicius Costa Gomesconfig NET_SCH_CBS 177585d763aSVinicius Costa Gomes tristate "Credit Based Shaper (CBS)" 178585d763aSVinicius Costa Gomes ---help--- 179585d763aSVinicius Costa Gomes Say Y here if you want to use the Credit Based Shaper (CBS) packet 180585d763aSVinicius Costa Gomes scheduling algorithm. 181585d763aSVinicius Costa Gomes 182585d763aSVinicius Costa Gomes See the top of <file:net/sched/sch_cbs.c> for more details. 183585d763aSVinicius Costa Gomes 184585d763aSVinicius Costa Gomes To compile this code as a module, choose M here: the 185585d763aSVinicius Costa Gomes module will be called sch_cbs. 186585d763aSVinicius Costa Gomes 18725db26a9SVinicius Costa Gomesconfig NET_SCH_ETF 18825db26a9SVinicius Costa Gomes tristate "Earliest TxTime First (ETF)" 18925db26a9SVinicius Costa Gomes help 19025db26a9SVinicius Costa Gomes Say Y here if you want to use the Earliest TxTime First (ETF) packet 19125db26a9SVinicius Costa Gomes scheduling algorithm. 19225db26a9SVinicius Costa Gomes 19325db26a9SVinicius Costa Gomes See the top of <file:net/sched/sch_etf.c> for more details. 19425db26a9SVinicius Costa Gomes 19525db26a9SVinicius Costa Gomes To compile this code as a module, choose M here: the 19625db26a9SVinicius Costa Gomes module will be called sch_etf. 19725db26a9SVinicius Costa Gomes 1985a781ccbSVinicius Costa Gomesconfig NET_SCH_TAPRIO 1995a781ccbSVinicius Costa Gomes tristate "Time Aware Priority (taprio) Scheduler" 2005a781ccbSVinicius Costa Gomes help 2015a781ccbSVinicius Costa Gomes Say Y here if you want to use the Time Aware Priority (taprio) packet 2025a781ccbSVinicius Costa Gomes scheduling algorithm. 2035a781ccbSVinicius Costa Gomes 2045a781ccbSVinicius Costa Gomes See the top of <file:net/sched/sch_taprio.c> for more details. 2055a781ccbSVinicius Costa Gomes 2065a781ccbSVinicius Costa Gomes To compile this code as a module, choose M here: the 2075a781ccbSVinicius Costa Gomes module will be called sch_taprio. 2085a781ccbSVinicius Costa Gomes 2091da177e4SLinus Torvaldsconfig NET_SCH_GRED 21052ab4ac2SThomas Graf tristate "Generic Random Early Detection (GRED)" 21152ab4ac2SThomas Graf ---help--- 2121da177e4SLinus Torvalds Say Y here if you want to use the Generic Random Early Detection 21320cc6befSLucas Correia Villa Real (GRED) packet scheduling algorithm for some of your network devices 2141da177e4SLinus Torvalds (see the top of <file:net/sched/sch_red.c> for details and 2151da177e4SLinus Torvalds references about the algorithm). 2161da177e4SLinus Torvalds 2171da177e4SLinus Torvalds To compile this code as a module, choose M here: the 2181da177e4SLinus Torvalds module will be called sch_gred. 2191da177e4SLinus Torvalds 2201da177e4SLinus Torvaldsconfig NET_SCH_DSMARK 22152ab4ac2SThomas Graf tristate "Differentiated Services marker (DSMARK)" 22252ab4ac2SThomas Graf ---help--- 2231da177e4SLinus Torvalds Say Y if you want to schedule packets according to the 2241da177e4SLinus Torvalds Differentiated Services architecture proposed in RFC 2475. 2251da177e4SLinus Torvalds Technical information on this method, with pointers to associated 2261da177e4SLinus Torvalds RFCs, is available at <http://www.gta.ufrj.br/diffserv/>. 2271da177e4SLinus Torvalds 2281da177e4SLinus Torvalds To compile this code as a module, choose M here: the 2291da177e4SLinus Torvalds module will be called sch_dsmark. 2301da177e4SLinus Torvalds 2311da177e4SLinus Torvaldsconfig NET_SCH_NETEM 23252ab4ac2SThomas Graf tristate "Network emulator (NETEM)" 23352ab4ac2SThomas Graf ---help--- 2341da177e4SLinus Torvalds Say Y if you want to emulate network delay, loss, and packet 2351da177e4SLinus Torvalds re-ordering. This is often useful to simulate networks when 2361da177e4SLinus Torvalds testing applications or protocols. 2371da177e4SLinus Torvalds 2381da177e4SLinus Torvalds To compile this driver as a module, choose M here: the module 2391da177e4SLinus Torvalds will be called sch_netem. 2401da177e4SLinus Torvalds 2411da177e4SLinus Torvalds If unsure, say N. 2421da177e4SLinus Torvalds 24313d2a1d2SPatrick McHardyconfig NET_SCH_DRR 24413d2a1d2SPatrick McHardy tristate "Deficit Round Robin scheduler (DRR)" 24513d2a1d2SPatrick McHardy help 24613d2a1d2SPatrick McHardy Say Y here if you want to use the Deficit Round Robin (DRR) packet 24713d2a1d2SPatrick McHardy scheduling algorithm. 24813d2a1d2SPatrick McHardy 24913d2a1d2SPatrick McHardy To compile this driver as a module, choose M here: the module 25013d2a1d2SPatrick McHardy will be called sch_drr. 25113d2a1d2SPatrick McHardy 25213d2a1d2SPatrick McHardy If unsure, say N. 25313d2a1d2SPatrick McHardy 254b8970f0bSJohn Fastabendconfig NET_SCH_MQPRIO 255b8970f0bSJohn Fastabend tristate "Multi-queue priority scheduler (MQPRIO)" 256b8970f0bSJohn Fastabend help 257b8970f0bSJohn Fastabend Say Y here if you want to use the Multi-queue Priority scheduler. 258b8970f0bSJohn Fastabend This scheduler allows QOS to be offloaded on NICs that have support 259b8970f0bSJohn Fastabend for offloading QOS schedulers. 260b8970f0bSJohn Fastabend 261b8970f0bSJohn Fastabend To compile this driver as a module, choose M here: the module will 262b8970f0bSJohn Fastabend be called sch_mqprio. 263b8970f0bSJohn Fastabend 264b8970f0bSJohn Fastabend If unsure, say N. 265b8970f0bSJohn Fastabend 266aea5f654SNishanth Devarajanconfig NET_SCH_SKBPRIO 267aea5f654SNishanth Devarajan tristate "SKB priority queue scheduler (SKBPRIO)" 268aea5f654SNishanth Devarajan help 269aea5f654SNishanth Devarajan Say Y here if you want to use the SKB priority queue 270aea5f654SNishanth Devarajan scheduler. This schedules packets according to skb->priority, 271aea5f654SNishanth Devarajan which is useful for request packets in DoS mitigation systems such 272aea5f654SNishanth Devarajan as Gatekeeper. 273aea5f654SNishanth Devarajan 274aea5f654SNishanth Devarajan To compile this driver as a module, choose M here: the module will 275aea5f654SNishanth Devarajan be called sch_skbprio. 276aea5f654SNishanth Devarajan 277aea5f654SNishanth Devarajan If unsure, say N. 278aea5f654SNishanth Devarajan 27945e14433Sstephen hemmingerconfig NET_SCH_CHOKE 28045e14433Sstephen hemminger tristate "CHOose and Keep responsive flow scheduler (CHOKE)" 28145e14433Sstephen hemminger help 28245e14433Sstephen hemminger Say Y here if you want to use the CHOKe packet scheduler (CHOose 28345e14433Sstephen hemminger and Keep for responsive flows, CHOose and Kill for unresponsive 28445e14433Sstephen hemminger flows). This is a variation of RED which trys to penalize flows 28545e14433Sstephen hemminger that monopolize the queue. 28645e14433Sstephen hemminger 28745e14433Sstephen hemminger To compile this code as a module, choose M here: the 28845e14433Sstephen hemminger module will be called sch_choke. 28945e14433Sstephen hemminger 2900545a303Sstephen hemmingerconfig NET_SCH_QFQ 2910545a303Sstephen hemminger tristate "Quick Fair Queueing scheduler (QFQ)" 2920545a303Sstephen hemminger help 2930545a303Sstephen hemminger Say Y here if you want to use the Quick Fair Queueing Scheduler (QFQ) 2940545a303Sstephen hemminger packet scheduling algorithm. 2950545a303Sstephen hemminger 2960545a303Sstephen hemminger To compile this driver as a module, choose M here: the module 2970545a303Sstephen hemminger will be called sch_qfq. 2980545a303Sstephen hemminger 2990545a303Sstephen hemminger If unsure, say N. 3000545a303Sstephen hemminger 30176e3cc12SEric Dumazetconfig NET_SCH_CODEL 30276e3cc12SEric Dumazet tristate "Controlled Delay AQM (CODEL)" 30376e3cc12SEric Dumazet help 30476e3cc12SEric Dumazet Say Y here if you want to use the Controlled Delay (CODEL) 30576e3cc12SEric Dumazet packet scheduling algorithm. 30676e3cc12SEric Dumazet 30776e3cc12SEric Dumazet To compile this driver as a module, choose M here: the module 30876e3cc12SEric Dumazet will be called sch_codel. 30976e3cc12SEric Dumazet 31076e3cc12SEric Dumazet If unsure, say N. 31176e3cc12SEric Dumazet 3124b549a2eSEric Dumazetconfig NET_SCH_FQ_CODEL 3134b549a2eSEric Dumazet tristate "Fair Queue Controlled Delay AQM (FQ_CODEL)" 3144b549a2eSEric Dumazet help 3154b549a2eSEric Dumazet Say Y here if you want to use the FQ Controlled Delay (FQ_CODEL) 3164b549a2eSEric Dumazet packet scheduling algorithm. 3174b549a2eSEric Dumazet 3184b549a2eSEric Dumazet To compile this driver as a module, choose M here: the module 3194b549a2eSEric Dumazet will be called sch_fq_codel. 3204b549a2eSEric Dumazet 3214b549a2eSEric Dumazet If unsure, say N. 3224b549a2eSEric Dumazet 323046f6fd5SToke Høiland-Jørgensenconfig NET_SCH_CAKE 324046f6fd5SToke Høiland-Jørgensen tristate "Common Applications Kept Enhanced (CAKE)" 325046f6fd5SToke Høiland-Jørgensen help 326046f6fd5SToke Høiland-Jørgensen Say Y here if you want to use the Common Applications Kept Enhanced 327046f6fd5SToke Høiland-Jørgensen (CAKE) queue management algorithm. 328046f6fd5SToke Høiland-Jørgensen 329046f6fd5SToke Høiland-Jørgensen To compile this driver as a module, choose M here: the module 330046f6fd5SToke Høiland-Jørgensen will be called sch_cake. 331046f6fd5SToke Høiland-Jørgensen 332046f6fd5SToke Høiland-Jørgensen If unsure, say N. 333046f6fd5SToke Høiland-Jørgensen 334afe4fd06SEric Dumazetconfig NET_SCH_FQ 335afe4fd06SEric Dumazet tristate "Fair Queue" 336afe4fd06SEric Dumazet help 337afe4fd06SEric Dumazet Say Y here if you want to use the FQ packet scheduling algorithm. 338afe4fd06SEric Dumazet 339afe4fd06SEric Dumazet FQ does flow separation, and is able to respect pacing requirements 340afe4fd06SEric Dumazet set by TCP stack into sk->sk_pacing_rate (for localy generated 341afe4fd06SEric Dumazet traffic) 342afe4fd06SEric Dumazet 343afe4fd06SEric Dumazet To compile this driver as a module, choose M here: the module 344afe4fd06SEric Dumazet will be called sch_fq. 345afe4fd06SEric Dumazet 346afe4fd06SEric Dumazet If unsure, say N. 347afe4fd06SEric Dumazet 34810239edfSTerry Lamconfig NET_SCH_HHF 34910239edfSTerry Lam tristate "Heavy-Hitter Filter (HHF)" 35010239edfSTerry Lam help 35110239edfSTerry Lam Say Y here if you want to use the Heavy-Hitter Filter (HHF) 35210239edfSTerry Lam packet scheduling algorithm. 35310239edfSTerry Lam 35410239edfSTerry Lam To compile this driver as a module, choose M here: the module 35510239edfSTerry Lam will be called sch_hhf. 35610239edfSTerry Lam 357d4b36210SVijay Subramanianconfig NET_SCH_PIE 358d4b36210SVijay Subramanian tristate "Proportional Integral controller Enhanced (PIE) scheduler" 359d4b36210SVijay Subramanian help 360d4b36210SVijay Subramanian Say Y here if you want to use the Proportional Integral controller 361d4b36210SVijay Subramanian Enhanced scheduler packet scheduling algorithm. 3621f8389bfSLeslie Monis For more information, please see https://tools.ietf.org/html/rfc8033 363d4b36210SVijay Subramanian 364d4b36210SVijay Subramanian To compile this driver as a module, choose M here: the module 365d4b36210SVijay Subramanian will be called sch_pie. 366d4b36210SVijay Subramanian 367d4b36210SVijay Subramanian If unsure, say N. 368d4b36210SVijay Subramanian 369ec97ecf1SMohit P. Tahilianiconfig NET_SCH_FQ_PIE 370ec97ecf1SMohit P. Tahiliani depends on NET_SCH_PIE 371ec97ecf1SMohit P. Tahiliani tristate "Flow Queue Proportional Integral controller Enhanced (FQ-PIE)" 372ec97ecf1SMohit P. Tahiliani help 373ec97ecf1SMohit P. Tahiliani Say Y here if you want to use the Flow Queue Proportional Integral 374ec97ecf1SMohit P. Tahiliani controller Enhanced (FQ-PIE) packet scheduling algorithm. 375ec97ecf1SMohit P. Tahiliani For more information, please see https://tools.ietf.org/html/rfc8033 376ec97ecf1SMohit P. Tahiliani 377ec97ecf1SMohit P. Tahiliani To compile this driver as a module, choose M here: the module 378ec97ecf1SMohit P. Tahiliani will be called sch_fq_pie. 379ec97ecf1SMohit P. Tahiliani 380ec97ecf1SMohit P. Tahiliani If unsure, say N. 381ec97ecf1SMohit P. Tahiliani 3821da177e4SLinus Torvaldsconfig NET_SCH_INGRESS 3831f211a1bSDaniel Borkmann tristate "Ingress/classifier-action Qdisc" 38472eb7bd2SPatrick McHardy depends on NET_CLS_ACT 3851cf51900SPablo Neira select NET_INGRESS 3861f211a1bSDaniel Borkmann select NET_EGRESS 38752ab4ac2SThomas Graf ---help--- 3881f211a1bSDaniel Borkmann Say Y here if you want to use classifiers for incoming and/or outgoing 3891f211a1bSDaniel Borkmann packets. This qdisc doesn't do anything else besides running classifiers, 3901f211a1bSDaniel Borkmann which can also have actions attached to them. In case of outgoing packets, 3911f211a1bSDaniel Borkmann classifiers that this qdisc holds are executed in the transmit path 3921f211a1bSDaniel Borkmann before real enqueuing to an egress qdisc happens. 3931f211a1bSDaniel Borkmann 3941da177e4SLinus Torvalds If unsure, say Y. 3951da177e4SLinus Torvalds 3961f211a1bSDaniel Borkmann To compile this code as a module, choose M here: the module will be 3971f211a1bSDaniel Borkmann called sch_ingress with alias of sch_clsact. 3981da177e4SLinus Torvalds 399c3059be1SShriram Rajagopalanconfig NET_SCH_PLUG 400c3059be1SShriram Rajagopalan tristate "Plug network traffic until release (PLUG)" 401c3059be1SShriram Rajagopalan ---help--- 402c3059be1SShriram Rajagopalan 403c3059be1SShriram Rajagopalan This queuing discipline allows userspace to plug/unplug a network 404c3059be1SShriram Rajagopalan output queue, using the netlink interface. When it receives an 405c3059be1SShriram Rajagopalan enqueue command it inserts a plug into the outbound queue that 406c3059be1SShriram Rajagopalan causes following packets to enqueue until a dequeue command arrives 407c3059be1SShriram Rajagopalan over netlink, causing the plug to be removed and resuming the normal 408c3059be1SShriram Rajagopalan packet flow. 409c3059be1SShriram Rajagopalan 410c3059be1SShriram Rajagopalan This module also provides a generic "network output buffering" 411c3059be1SShriram Rajagopalan functionality (aka output commit), wherein upon arrival of a dequeue 412c3059be1SShriram Rajagopalan command, only packets up to the first plug are released for delivery. 413c3059be1SShriram Rajagopalan The Remus HA project uses this module to enable speculative execution 414c3059be1SShriram Rajagopalan of virtual machines by allowing the generated network output to be rolled 415c3059be1SShriram Rajagopalan back if needed. 416c3059be1SShriram Rajagopalan 4175d330cddSAndrew Shewmaker For more information, please refer to <http://wiki.xenproject.org/wiki/Remus> 418c3059be1SShriram Rajagopalan 419c3059be1SShriram Rajagopalan Say Y here if you are using this kernel for Xen dom0 and 420c3059be1SShriram Rajagopalan want to protect Xen guests with Remus. 421c3059be1SShriram Rajagopalan 422c3059be1SShriram Rajagopalan To compile this code as a module, choose M here: the 423c3059be1SShriram Rajagopalan module will be called sch_plug. 424c3059be1SShriram Rajagopalan 425dcc68b4dSPetr Machataconfig NET_SCH_ETS 426dcc68b4dSPetr Machata tristate "Enhanced transmission selection scheduler (ETS)" 427dcc68b4dSPetr Machata help 428dcc68b4dSPetr Machata The Enhanced Transmission Selection scheduler is a classful 429dcc68b4dSPetr Machata queuing discipline that merges functionality of PRIO and DRR 430dcc68b4dSPetr Machata qdiscs in one scheduler. ETS makes it easy to configure a set of 431dcc68b4dSPetr Machata strict and bandwidth-sharing bands to implement the transmission 432dcc68b4dSPetr Machata selection described in 802.1Qaz. 433dcc68b4dSPetr Machata 434dcc68b4dSPetr Machata Say Y here if you want to use the ETS packet scheduling 435dcc68b4dSPetr Machata algorithm. 436dcc68b4dSPetr Machata 437dcc68b4dSPetr Machata To compile this driver as a module, choose M here: the module 438dcc68b4dSPetr Machata will be called sch_ets. 439dcc68b4dSPetr Machata 440dcc68b4dSPetr Machata If unsure, say N. 441dcc68b4dSPetr Machata 4428ea3e439Sstephen hemmingermenuconfig NET_SCH_DEFAULT 4438ea3e439Sstephen hemminger bool "Allow override default queue discipline" 4448ea3e439Sstephen hemminger ---help--- 4458ea3e439Sstephen hemminger Support for selection of default queuing discipline. 4468ea3e439Sstephen hemminger 4478ea3e439Sstephen hemminger Nearly all users can safely say no here, and the default 4488ea3e439Sstephen hemminger of pfifo_fast will be used. Many distributions already set 4498ea3e439Sstephen hemminger the default value via /proc/sys/net/core/default_qdisc. 4508ea3e439Sstephen hemminger 4518ea3e439Sstephen hemminger If unsure, say N. 4528ea3e439Sstephen hemminger 4538ea3e439Sstephen hemmingerif NET_SCH_DEFAULT 4548ea3e439Sstephen hemminger 4558ea3e439Sstephen hemmingerchoice 4568ea3e439Sstephen hemminger prompt "Default queuing discipline" 4578ea3e439Sstephen hemminger default DEFAULT_PFIFO_FAST 4588ea3e439Sstephen hemminger help 4598ea3e439Sstephen hemminger Select the queueing discipline that will be used by default 4608ea3e439Sstephen hemminger for all network devices. 4618ea3e439Sstephen hemminger 4628ea3e439Sstephen hemminger config DEFAULT_FQ 4638ea3e439Sstephen hemminger bool "Fair Queue" if NET_SCH_FQ 4648ea3e439Sstephen hemminger 4658ea3e439Sstephen hemminger config DEFAULT_CODEL 4668ea3e439Sstephen hemminger bool "Controlled Delay" if NET_SCH_CODEL 4678ea3e439Sstephen hemminger 4688ea3e439Sstephen hemminger config DEFAULT_FQ_CODEL 4698ea3e439Sstephen hemminger bool "Fair Queue Controlled Delay" if NET_SCH_FQ_CODEL 4708ea3e439Sstephen hemminger 4718ea3e439Sstephen hemminger config DEFAULT_SFQ 4728ea3e439Sstephen hemminger bool "Stochastic Fair Queue" if NET_SCH_SFQ 4738ea3e439Sstephen hemminger 4748ea3e439Sstephen hemminger config DEFAULT_PFIFO_FAST 4758ea3e439Sstephen hemminger bool "Priority FIFO Fast" 4768ea3e439Sstephen hemmingerendchoice 4778ea3e439Sstephen hemminger 4788ea3e439Sstephen hemmingerconfig DEFAULT_NET_SCH 4798ea3e439Sstephen hemminger string 4808ea3e439Sstephen hemminger default "pfifo_fast" if DEFAULT_PFIFO_FAST 4818ea3e439Sstephen hemminger default "fq" if DEFAULT_FQ 4828ea3e439Sstephen hemminger default "fq_codel" if DEFAULT_FQ_CODEL 4838ea3e439Sstephen hemminger default "sfq" if DEFAULT_SFQ 4848ea3e439Sstephen hemminger default "pfifo_fast" 4858ea3e439Sstephen hemmingerendif 4868ea3e439Sstephen hemminger 48752ab4ac2SThomas Grafcomment "Classification" 4881da177e4SLinus Torvalds 4891da177e4SLinus Torvaldsconfig NET_CLS 4906341e62bSChristoph Jaeger bool 4911da177e4SLinus Torvalds 4921da177e4SLinus Torvaldsconfig NET_CLS_BASIC 49352ab4ac2SThomas Graf tristate "Elementary classification (BASIC)" 49452ab4ac2SThomas Graf select NET_CLS 4951da177e4SLinus Torvalds ---help--- 4961da177e4SLinus Torvalds Say Y here if you want to be able to classify packets using 4971da177e4SLinus Torvalds only extended matches and actions. 4981da177e4SLinus Torvalds 4991da177e4SLinus Torvalds To compile this code as a module, choose M here: the 5001da177e4SLinus Torvalds module will be called cls_basic. 5011da177e4SLinus Torvalds 5021da177e4SLinus Torvaldsconfig NET_CLS_TCINDEX 50352ab4ac2SThomas Graf tristate "Traffic-Control Index (TCINDEX)" 50452ab4ac2SThomas Graf select NET_CLS 50552ab4ac2SThomas Graf ---help--- 50652ab4ac2SThomas Graf Say Y here if you want to be able to classify packets based on 50752ab4ac2SThomas Graf traffic control indices. You will want this feature if you want 50852ab4ac2SThomas Graf to implement Differentiated Services together with DSMARK. 5091da177e4SLinus Torvalds 5101da177e4SLinus Torvalds To compile this code as a module, choose M here: the 5111da177e4SLinus Torvalds module will be called cls_tcindex. 5121da177e4SLinus Torvalds 5131da177e4SLinus Torvaldsconfig NET_CLS_ROUTE4 51452ab4ac2SThomas Graf tristate "Routing decision (ROUTE)" 515034cfe48SRandy Dunlap depends on INET 516c7066f70SPatrick McHardy select IP_ROUTE_CLASSID 51752ab4ac2SThomas Graf select NET_CLS 51852ab4ac2SThomas Graf ---help--- 51952ab4ac2SThomas Graf If you say Y here, you will be able to classify packets 52052ab4ac2SThomas Graf according to the route table entry they matched. 5211da177e4SLinus Torvalds 5221da177e4SLinus Torvalds To compile this code as a module, choose M here: the 5231da177e4SLinus Torvalds module will be called cls_route. 5241da177e4SLinus Torvalds 5251da177e4SLinus Torvaldsconfig NET_CLS_FW 52652ab4ac2SThomas Graf tristate "Netfilter mark (FW)" 52752ab4ac2SThomas Graf select NET_CLS 52852ab4ac2SThomas Graf ---help--- 52952ab4ac2SThomas Graf If you say Y here, you will be able to classify packets 53052ab4ac2SThomas Graf according to netfilter/firewall marks. 5311da177e4SLinus Torvalds 5321da177e4SLinus Torvalds To compile this code as a module, choose M here: the 5331da177e4SLinus Torvalds module will be called cls_fw. 5341da177e4SLinus Torvalds 5351da177e4SLinus Torvaldsconfig NET_CLS_U32 53652ab4ac2SThomas Graf tristate "Universal 32bit comparisons w/ hashing (U32)" 53752ab4ac2SThomas Graf select NET_CLS 53852ab4ac2SThomas Graf ---help--- 5393539c272SMatt LaPlante Say Y here to be able to classify packets using a universal 54052ab4ac2SThomas Graf 32bit pieces based comparison scheme. 5411da177e4SLinus Torvalds 5421da177e4SLinus Torvalds To compile this code as a module, choose M here: the 5431da177e4SLinus Torvalds module will be called cls_u32. 5441da177e4SLinus Torvalds 5451da177e4SLinus Torvaldsconfig CLS_U32_PERF 54652ab4ac2SThomas Graf bool "Performance counters support" 5471da177e4SLinus Torvalds depends on NET_CLS_U32 54852ab4ac2SThomas Graf ---help--- 54952ab4ac2SThomas Graf Say Y here to make u32 gather additional statistics useful for 55052ab4ac2SThomas Graf fine tuning u32 classifiers. 5511da177e4SLinus Torvalds 5521da177e4SLinus Torvaldsconfig CLS_U32_MARK 55352ab4ac2SThomas Graf bool "Netfilter marks support" 55482e91ffeSThomas Graf depends on NET_CLS_U32 55552ab4ac2SThomas Graf ---help--- 55652ab4ac2SThomas Graf Say Y here to be able to use netfilter marks as u32 key. 5571da177e4SLinus Torvalds 5581da177e4SLinus Torvaldsconfig NET_CLS_RSVP 55952ab4ac2SThomas Graf tristate "IPv4 Resource Reservation Protocol (RSVP)" 56052ab4ac2SThomas Graf select NET_CLS 5611da177e4SLinus Torvalds ---help--- 5621da177e4SLinus Torvalds The Resource Reservation Protocol (RSVP) permits end systems to 5631da177e4SLinus Torvalds request a minimum and maximum data flow rate for a connection; this 5641da177e4SLinus Torvalds is important for real time data such as streaming sound or video. 5651da177e4SLinus Torvalds 5661da177e4SLinus Torvalds Say Y here if you want to be able to classify outgoing packets based 5671da177e4SLinus Torvalds on their RSVP requests. 5681da177e4SLinus Torvalds 5691da177e4SLinus Torvalds To compile this code as a module, choose M here: the 5701da177e4SLinus Torvalds module will be called cls_rsvp. 5711da177e4SLinus Torvalds 5721da177e4SLinus Torvaldsconfig NET_CLS_RSVP6 57352ab4ac2SThomas Graf tristate "IPv6 Resource Reservation Protocol (RSVP6)" 57452ab4ac2SThomas Graf select NET_CLS 5751da177e4SLinus Torvalds ---help--- 5761da177e4SLinus Torvalds The Resource Reservation Protocol (RSVP) permits end systems to 5771da177e4SLinus Torvalds request a minimum and maximum data flow rate for a connection; this 5781da177e4SLinus Torvalds is important for real time data such as streaming sound or video. 5791da177e4SLinus Torvalds 5801da177e4SLinus Torvalds Say Y here if you want to be able to classify outgoing packets based 58199acaeb9SGabriel Craciunescu on their RSVP requests and you are using the IPv6 protocol. 5821da177e4SLinus Torvalds 5831da177e4SLinus Torvalds To compile this code as a module, choose M here: the 5841da177e4SLinus Torvalds module will be called cls_rsvp6. 5851da177e4SLinus Torvalds 586e5dfb815SPatrick McHardyconfig NET_CLS_FLOW 587e5dfb815SPatrick McHardy tristate "Flow classifier" 588e5dfb815SPatrick McHardy select NET_CLS 589e5dfb815SPatrick McHardy ---help--- 590e5dfb815SPatrick McHardy If you say Y here, you will be able to classify packets based on 591e5dfb815SPatrick McHardy a configurable combination of packet keys. This is mostly useful 592e5dfb815SPatrick McHardy in combination with SFQ. 593e5dfb815SPatrick McHardy 594e5dfb815SPatrick McHardy To compile this code as a module, choose M here: the 595e5dfb815SPatrick McHardy module will be called cls_flow. 596e5dfb815SPatrick McHardy 597f4009237SThomas Grafconfig NET_CLS_CGROUP 5988e039d84SBen Blum tristate "Control Group Classifier" 599f4009237SThomas Graf select NET_CLS 600fe1217c4SDaniel Borkmann select CGROUP_NET_CLASSID 601f4009237SThomas Graf depends on CGROUPS 602f4009237SThomas Graf ---help--- 603f4009237SThomas Graf Say Y here if you want to classify packets based on the control 604f4009237SThomas Graf cgroup of their process. 605f4009237SThomas Graf 6068e039d84SBen Blum To compile this code as a module, choose M here: the 6078e039d84SBen Blum module will be called cls_cgroup. 6088e039d84SBen Blum 6097d1d65cbSDaniel Borkmannconfig NET_CLS_BPF 6107d1d65cbSDaniel Borkmann tristate "BPF-based classifier" 6117d1d65cbSDaniel Borkmann select NET_CLS 6127d1d65cbSDaniel Borkmann ---help--- 6137d1d65cbSDaniel Borkmann If you say Y here, you will be able to classify packets based on 6147d1d65cbSDaniel Borkmann programmable BPF (JIT'ed) filters as an alternative to ematches. 6157d1d65cbSDaniel Borkmann 6167d1d65cbSDaniel Borkmann To compile this code as a module, choose M here: the module will 6177d1d65cbSDaniel Borkmann be called cls_bpf. 6187d1d65cbSDaniel Borkmann 61977b9900eSJiri Pirkoconfig NET_CLS_FLOWER 62077b9900eSJiri Pirko tristate "Flower classifier" 62177b9900eSJiri Pirko select NET_CLS 62277b9900eSJiri Pirko ---help--- 62377b9900eSJiri Pirko If you say Y here, you will be able to classify packets based on 62477b9900eSJiri Pirko a configurable combination of packet keys and masks. 62577b9900eSJiri Pirko 62677b9900eSJiri Pirko To compile this code as a module, choose M here: the module will 62777b9900eSJiri Pirko be called cls_flower. 62877b9900eSJiri Pirko 629bf3994d2SJiri Pirkoconfig NET_CLS_MATCHALL 630bf3994d2SJiri Pirko tristate "Match-all classifier" 631bf3994d2SJiri Pirko select NET_CLS 632bf3994d2SJiri Pirko ---help--- 633bf3994d2SJiri Pirko If you say Y here, you will be able to classify packets based on 634bf3994d2SJiri Pirko nothing. Every packet will match. 635bf3994d2SJiri Pirko 636bf3994d2SJiri Pirko To compile this code as a module, choose M here: the module will 637bf3994d2SJiri Pirko be called cls_matchall. 638bf3994d2SJiri Pirko 6391da177e4SLinus Torvaldsconfig NET_EMATCH 6401da177e4SLinus Torvalds bool "Extended Matches" 64152ab4ac2SThomas Graf select NET_CLS 6421da177e4SLinus Torvalds ---help--- 6431da177e4SLinus Torvalds Say Y here if you want to use extended matches on top of classifiers 6441da177e4SLinus Torvalds and select the extended matches below. 6451da177e4SLinus Torvalds 6461da177e4SLinus Torvalds Extended matches are small classification helpers not worth writing 64752ab4ac2SThomas Graf a separate classifier for. 6481da177e4SLinus Torvalds 64952ab4ac2SThomas Graf A recent version of the iproute2 package is required to use 6501da177e4SLinus Torvalds extended matches. 6511da177e4SLinus Torvalds 6521da177e4SLinus Torvaldsconfig NET_EMATCH_STACK 6531da177e4SLinus Torvalds int "Stack size" 6541da177e4SLinus Torvalds depends on NET_EMATCH 6551da177e4SLinus Torvalds default "32" 6561da177e4SLinus Torvalds ---help--- 6571da177e4SLinus Torvalds Size of the local stack variable used while evaluating the tree of 6581da177e4SLinus Torvalds ematches. Limits the depth of the tree, i.e. the number of 659b824979aSThomas Graf encapsulated precedences. Every level requires 4 bytes of additional 6601da177e4SLinus Torvalds stack space. 6611da177e4SLinus Torvalds 6621da177e4SLinus Torvaldsconfig NET_EMATCH_CMP 6631da177e4SLinus Torvalds tristate "Simple packet data comparison" 6641da177e4SLinus Torvalds depends on NET_EMATCH 6651da177e4SLinus Torvalds ---help--- 6661da177e4SLinus Torvalds Say Y here if you want to be able to classify packets based on 6671da177e4SLinus Torvalds simple packet data comparisons for 8, 16, and 32bit values. 6681da177e4SLinus Torvalds 6691da177e4SLinus Torvalds To compile this code as a module, choose M here: the 6701da177e4SLinus Torvalds module will be called em_cmp. 6711da177e4SLinus Torvalds 6721da177e4SLinus Torvaldsconfig NET_EMATCH_NBYTE 6731da177e4SLinus Torvalds tristate "Multi byte comparison" 6741da177e4SLinus Torvalds depends on NET_EMATCH 6751da177e4SLinus Torvalds ---help--- 6761da177e4SLinus Torvalds Say Y here if you want to be able to classify packets based on 6771da177e4SLinus Torvalds multiple byte comparisons mainly useful for IPv6 address comparisons. 6781da177e4SLinus Torvalds 6791da177e4SLinus Torvalds To compile this code as a module, choose M here: the 6801da177e4SLinus Torvalds module will be called em_nbyte. 6811da177e4SLinus Torvalds 6821da177e4SLinus Torvaldsconfig NET_EMATCH_U32 68352ab4ac2SThomas Graf tristate "U32 key" 6841da177e4SLinus Torvalds depends on NET_EMATCH 6851da177e4SLinus Torvalds ---help--- 6861da177e4SLinus Torvalds Say Y here if you want to be able to classify packets using 6871da177e4SLinus Torvalds the famous u32 key in combination with logic relations. 6881da177e4SLinus Torvalds 6891da177e4SLinus Torvalds To compile this code as a module, choose M here: the 6901da177e4SLinus Torvalds module will be called em_u32. 6911da177e4SLinus Torvalds 6921da177e4SLinus Torvaldsconfig NET_EMATCH_META 6931da177e4SLinus Torvalds tristate "Metadata" 6941da177e4SLinus Torvalds depends on NET_EMATCH 6951da177e4SLinus Torvalds ---help--- 696bb7e8c5aSAdrian Bunk Say Y here if you want to be able to classify packets based on 6971da177e4SLinus Torvalds metadata such as load average, netfilter attributes, socket 6981da177e4SLinus Torvalds attributes and routing decisions. 6991da177e4SLinus Torvalds 7001da177e4SLinus Torvalds To compile this code as a module, choose M here: the 7011da177e4SLinus Torvalds module will be called em_meta. 7021da177e4SLinus Torvalds 703d675c989SThomas Grafconfig NET_EMATCH_TEXT 704d675c989SThomas Graf tristate "Textsearch" 705d675c989SThomas Graf depends on NET_EMATCH 706f2d368faSDavid S. Miller select TEXTSEARCH 707f7704347SDavid S. Miller select TEXTSEARCH_KMP 70829cb9f9cSDavid S. Miller select TEXTSEARCH_BM 709f7704347SDavid S. Miller select TEXTSEARCH_FSM 710d675c989SThomas Graf ---help--- 71152ab4ac2SThomas Graf Say Y here if you want to be able to classify packets based on 712f7704347SDavid S. Miller textsearch comparisons. 713d675c989SThomas Graf 714d675c989SThomas Graf To compile this code as a module, choose M here: the 715d675c989SThomas Graf module will be called em_text. 716d675c989SThomas Graf 717f057bbb6SRostislav Lisovyconfig NET_EMATCH_CANID 718f057bbb6SRostislav Lisovy tristate "CAN Identifier" 719a303fbf3SMarc Kleine-Budde depends on NET_EMATCH && (CAN=y || CAN=m) 720f057bbb6SRostislav Lisovy ---help--- 721f057bbb6SRostislav Lisovy Say Y here if you want to be able to classify CAN frames based 722f057bbb6SRostislav Lisovy on CAN Identifier. 723f057bbb6SRostislav Lisovy 724f057bbb6SRostislav Lisovy To compile this code as a module, choose M here: the 725f057bbb6SRostislav Lisovy module will be called em_canid. 726f057bbb6SRostislav Lisovy 7276d4fa852SFlorian Westphalconfig NET_EMATCH_IPSET 7286d4fa852SFlorian Westphal tristate "IPset" 7296d4fa852SFlorian Westphal depends on NET_EMATCH && IP_SET 7306d4fa852SFlorian Westphal ---help--- 7316d4fa852SFlorian Westphal Say Y here if you want to be able to classify packets based on 7326d4fa852SFlorian Westphal ipset membership. 7336d4fa852SFlorian Westphal 7346d4fa852SFlorian Westphal To compile this code as a module, choose M here: the 7356d4fa852SFlorian Westphal module will be called em_ipset. 7366d4fa852SFlorian Westphal 737ccc007e4SEyal Birgerconfig NET_EMATCH_IPT 738ccc007e4SEyal Birger tristate "IPtables Matches" 739ccc007e4SEyal Birger depends on NET_EMATCH && NETFILTER && NETFILTER_XTABLES 740ccc007e4SEyal Birger ---help--- 741ccc007e4SEyal Birger Say Y here to be able to classify packets based on iptables 742ccc007e4SEyal Birger matches. 743ccc007e4SEyal Birger Current supported match is "policy" which allows packet classification 744ccc007e4SEyal Birger based on IPsec policy that was used during decapsulation 745ccc007e4SEyal Birger 746ccc007e4SEyal Birger To compile this code as a module, choose M here: the 747ccc007e4SEyal Birger module will be called em_ipt. 748ccc007e4SEyal Birger 7491da177e4SLinus Torvaldsconfig NET_CLS_ACT 75052ab4ac2SThomas Graf bool "Actions" 7518ec1507dSJiri Pirko select NET_CLS 7521da177e4SLinus Torvalds ---help--- 75352ab4ac2SThomas Graf Say Y here if you want to use traffic control actions. Actions 75452ab4ac2SThomas Graf get attached to classifiers and are invoked after a successful 75552ab4ac2SThomas Graf classification. They are used to overwrite the classification 75652ab4ac2SThomas Graf result, instantly drop or redirect packets, etc. 75752ab4ac2SThomas Graf 75852ab4ac2SThomas Graf A recent version of the iproute2 package is required to use 75952ab4ac2SThomas Graf extended matches. 7601da177e4SLinus Torvalds 7611da177e4SLinus Torvaldsconfig NET_ACT_POLICE 76252ab4ac2SThomas Graf tristate "Traffic Policing" 7631da177e4SLinus Torvalds depends on NET_CLS_ACT 7641da177e4SLinus Torvalds ---help--- 76552ab4ac2SThomas Graf Say Y here if you want to do traffic policing, i.e. strict 76652ab4ac2SThomas Graf bandwidth limiting. This action replaces the existing policing 76752ab4ac2SThomas Graf module. 76852ab4ac2SThomas Graf 76952ab4ac2SThomas Graf To compile this code as a module, choose M here: the 770d4ae20b3SJan Luebbe module will be called act_police. 7711da177e4SLinus Torvalds 7721da177e4SLinus Torvaldsconfig NET_ACT_GACT 77352ab4ac2SThomas Graf tristate "Generic actions" 7741da177e4SLinus Torvalds depends on NET_CLS_ACT 7751da177e4SLinus Torvalds ---help--- 77652ab4ac2SThomas Graf Say Y here to take generic actions such as dropping and 77752ab4ac2SThomas Graf accepting packets. 77852ab4ac2SThomas Graf 77952ab4ac2SThomas Graf To compile this code as a module, choose M here: the 780d4ae20b3SJan Luebbe module will be called act_gact. 7811da177e4SLinus Torvalds 7821da177e4SLinus Torvaldsconfig GACT_PROB 78352ab4ac2SThomas Graf bool "Probability support" 7841da177e4SLinus Torvalds depends on NET_ACT_GACT 7851da177e4SLinus Torvalds ---help--- 78652ab4ac2SThomas Graf Say Y here to use the generic action randomly or deterministically. 7871da177e4SLinus Torvalds 7881da177e4SLinus Torvaldsconfig NET_ACT_MIRRED 78952ab4ac2SThomas Graf tristate "Redirecting and Mirroring" 7901da177e4SLinus Torvalds depends on NET_CLS_ACT 7911da177e4SLinus Torvalds ---help--- 79252ab4ac2SThomas Graf Say Y here to allow packets to be mirrored or redirected to 79352ab4ac2SThomas Graf other devices. 79452ab4ac2SThomas Graf 79552ab4ac2SThomas Graf To compile this code as a module, choose M here: the 796d4ae20b3SJan Luebbe module will be called act_mirred. 7971da177e4SLinus Torvalds 7985c5670faSYotam Gigiconfig NET_ACT_SAMPLE 7995c5670faSYotam Gigi tristate "Traffic Sampling" 8005c5670faSYotam Gigi depends on NET_CLS_ACT 8015c5670faSYotam Gigi select PSAMPLE 8025c5670faSYotam Gigi ---help--- 8035c5670faSYotam Gigi Say Y here to allow packet sampling tc action. The packet sample 8045c5670faSYotam Gigi action consists of statistically choosing packets and sampling 8055c5670faSYotam Gigi them using the psample module. 8065c5670faSYotam Gigi 8075c5670faSYotam Gigi To compile this code as a module, choose M here: the 8085c5670faSYotam Gigi module will be called act_sample. 8095c5670faSYotam Gigi 8101da177e4SLinus Torvaldsconfig NET_ACT_IPT 81152ab4ac2SThomas Graf tristate "IPtables targets" 8121da177e4SLinus Torvalds depends on NET_CLS_ACT && NETFILTER && IP_NF_IPTABLES 8131da177e4SLinus Torvalds ---help--- 8143539c272SMatt LaPlante Say Y here to be able to invoke iptables targets after successful 81552ab4ac2SThomas Graf classification. 81652ab4ac2SThomas Graf 81752ab4ac2SThomas Graf To compile this code as a module, choose M here: the 818d4ae20b3SJan Luebbe module will be called act_ipt. 8191da177e4SLinus Torvalds 820b4219952SHerbert Xuconfig NET_ACT_NAT 821b4219952SHerbert Xu tristate "Stateless NAT" 822b4219952SHerbert Xu depends on NET_CLS_ACT 823b4219952SHerbert Xu ---help--- 824b4219952SHerbert Xu Say Y here to do stateless NAT on IPv4 packets. You should use 825b4219952SHerbert Xu netfilter for NAT unless you know what you are doing. 826b4219952SHerbert Xu 827b4219952SHerbert Xu To compile this code as a module, choose M here: the 828d4ae20b3SJan Luebbe module will be called act_nat. 829b4219952SHerbert Xu 8301da177e4SLinus Torvaldsconfig NET_ACT_PEDIT 83152ab4ac2SThomas Graf tristate "Packet Editing" 8321da177e4SLinus Torvalds depends on NET_CLS_ACT 8331da177e4SLinus Torvalds ---help--- 83452ab4ac2SThomas Graf Say Y here if you want to mangle the content of packets. 8351da177e4SLinus Torvalds 83652ab4ac2SThomas Graf To compile this code as a module, choose M here: the 837d4ae20b3SJan Luebbe module will be called act_pedit. 8381da177e4SLinus Torvalds 839db753079SJamal Hadi Salimconfig NET_ACT_SIMP 84052ab4ac2SThomas Graf tristate "Simple Example (Debug)" 841db753079SJamal Hadi Salim depends on NET_CLS_ACT 842db753079SJamal Hadi Salim ---help--- 84352ab4ac2SThomas Graf Say Y here to add a simple action for demonstration purposes. 84452ab4ac2SThomas Graf It is meant as an example and for debugging purposes. It will 84552ab4ac2SThomas Graf print a configured policy string followed by the packet count 84652ab4ac2SThomas Graf to the console for every packet that passes by. 847db753079SJamal Hadi Salim 84852ab4ac2SThomas Graf If unsure, say N. 84952ab4ac2SThomas Graf 85052ab4ac2SThomas Graf To compile this code as a module, choose M here: the 851d4ae20b3SJan Luebbe module will be called act_simple. 85252ab4ac2SThomas Graf 853ca9b0e27SAlexander Duyckconfig NET_ACT_SKBEDIT 854ca9b0e27SAlexander Duyck tristate "SKB Editing" 855ca9b0e27SAlexander Duyck depends on NET_CLS_ACT 856ca9b0e27SAlexander Duyck ---help--- 857ca9b0e27SAlexander Duyck Say Y here to change skb priority or queue_mapping settings. 858ca9b0e27SAlexander Duyck 859ca9b0e27SAlexander Duyck If unsure, say N. 860ca9b0e27SAlexander Duyck 861ca9b0e27SAlexander Duyck To compile this code as a module, choose M here: the 862d4ae20b3SJan Luebbe module will be called act_skbedit. 863ca9b0e27SAlexander Duyck 864eb4d4065SGrégoire Baronconfig NET_ACT_CSUM 865eb4d4065SGrégoire Baron tristate "Checksum Updating" 8667abac686SDavid S. Miller depends on NET_CLS_ACT && INET 867ab9d226eSDavide Caratti select LIBCRC32C 868eb4d4065SGrégoire Baron ---help--- 869eb4d4065SGrégoire Baron Say Y here to update some common checksum after some direct 870eb4d4065SGrégoire Baron packet alterations. 871eb4d4065SGrégoire Baron 872eb4d4065SGrégoire Baron To compile this code as a module, choose M here: the 873eb4d4065SGrégoire Baron module will be called act_csum. 874eb4d4065SGrégoire Baron 8752a2ea508SJohn Hurleyconfig NET_ACT_MPLS 8762a2ea508SJohn Hurley tristate "MPLS manipulation" 8772a2ea508SJohn Hurley depends on NET_CLS_ACT 8782a2ea508SJohn Hurley help 8792a2ea508SJohn Hurley Say Y here to push or pop MPLS headers. 8802a2ea508SJohn Hurley 8812a2ea508SJohn Hurley If unsure, say N. 8822a2ea508SJohn Hurley 8832a2ea508SJohn Hurley To compile this code as a module, choose M here: the 8842a2ea508SJohn Hurley module will be called act_mpls. 8852a2ea508SJohn Hurley 886c7e2b968SJiri Pirkoconfig NET_ACT_VLAN 887c7e2b968SJiri Pirko tristate "Vlan manipulation" 888c7e2b968SJiri Pirko depends on NET_CLS_ACT 889c7e2b968SJiri Pirko ---help--- 890c7e2b968SJiri Pirko Say Y here to push or pop vlan headers. 891c7e2b968SJiri Pirko 892c7e2b968SJiri Pirko If unsure, say N. 893c7e2b968SJiri Pirko 894c7e2b968SJiri Pirko To compile this code as a module, choose M here: the 895c7e2b968SJiri Pirko module will be called act_vlan. 896c7e2b968SJiri Pirko 897d23b8ad8SJiri Pirkoconfig NET_ACT_BPF 898d23b8ad8SJiri Pirko tristate "BPF based action" 899d23b8ad8SJiri Pirko depends on NET_CLS_ACT 900d23b8ad8SJiri Pirko ---help--- 901d23b8ad8SJiri Pirko Say Y here to execute BPF code on packets. The BPF code will decide 902d23b8ad8SJiri Pirko if the packet should be dropped or not. 903d23b8ad8SJiri Pirko 904d23b8ad8SJiri Pirko If unsure, say N. 905d23b8ad8SJiri Pirko 906d23b8ad8SJiri Pirko To compile this code as a module, choose M here: the 907d23b8ad8SJiri Pirko module will be called act_bpf. 908d23b8ad8SJiri Pirko 90922a5dc0eSFelix Fietkauconfig NET_ACT_CONNMARK 91022a5dc0eSFelix Fietkau tristate "Netfilter Connection Mark Retriever" 91122a5dc0eSFelix Fietkau depends on NET_CLS_ACT && NETFILTER && IP_NF_IPTABLES 9122dbce096SArnd Bergmann depends on NF_CONNTRACK && NF_CONNTRACK_MARK 91322a5dc0eSFelix Fietkau ---help--- 91422a5dc0eSFelix Fietkau Say Y here to allow retrieving of conn mark 91522a5dc0eSFelix Fietkau 91622a5dc0eSFelix Fietkau If unsure, say N. 91722a5dc0eSFelix Fietkau 91822a5dc0eSFelix Fietkau To compile this code as a module, choose M here: the 91922a5dc0eSFelix Fietkau module will be called act_connmark. 92022a5dc0eSFelix Fietkau 92124ec483cSKevin 'ldir' Darbyshire-Bryantconfig NET_ACT_CTINFO 92224ec483cSKevin 'ldir' Darbyshire-Bryant tristate "Netfilter Connection Mark Actions" 92324ec483cSKevin 'ldir' Darbyshire-Bryant depends on NET_CLS_ACT && NETFILTER && IP_NF_IPTABLES 92424ec483cSKevin 'ldir' Darbyshire-Bryant depends on NF_CONNTRACK && NF_CONNTRACK_MARK 92524ec483cSKevin 'ldir' Darbyshire-Bryant help 92624ec483cSKevin 'ldir' Darbyshire-Bryant Say Y here to allow transfer of a connmark stored information. 92724ec483cSKevin 'ldir' Darbyshire-Bryant Current actions transfer connmark stored DSCP into 92824ec483cSKevin 'ldir' Darbyshire-Bryant ipv4/v6 diffserv and/or to transfer connmark to packet 92924ec483cSKevin 'ldir' Darbyshire-Bryant mark. Both are useful for restoring egress based marks 93024ec483cSKevin 'ldir' Darbyshire-Bryant back onto ingress connections for qdisc priority mapping 93124ec483cSKevin 'ldir' Darbyshire-Bryant purposes. 93224ec483cSKevin 'ldir' Darbyshire-Bryant 93324ec483cSKevin 'ldir' Darbyshire-Bryant If unsure, say N. 93424ec483cSKevin 'ldir' Darbyshire-Bryant 93524ec483cSKevin 'ldir' Darbyshire-Bryant To compile this code as a module, choose M here: the 93624ec483cSKevin 'ldir' Darbyshire-Bryant module will be called act_ctinfo. 93724ec483cSKevin 'ldir' Darbyshire-Bryant 93886da71b5SJamal Hadi Salimconfig NET_ACT_SKBMOD 93986da71b5SJamal Hadi Salim tristate "skb data modification action" 94086da71b5SJamal Hadi Salim depends on NET_CLS_ACT 94186da71b5SJamal Hadi Salim ---help--- 94286da71b5SJamal Hadi Salim Say Y here to allow modification of skb data 94386da71b5SJamal Hadi Salim 94486da71b5SJamal Hadi Salim If unsure, say N. 94586da71b5SJamal Hadi Salim 94686da71b5SJamal Hadi Salim To compile this code as a module, choose M here: the 94786da71b5SJamal Hadi Salim module will be called act_skbmod. 94886da71b5SJamal Hadi Salim 949ef6980b6SJamal Hadi Salimconfig NET_ACT_IFE 950ef6980b6SJamal Hadi Salim tristate "Inter-FE action based on IETF ForCES InterFE LFB" 951ef6980b6SJamal Hadi Salim depends on NET_CLS_ACT 952295a6e06SYotam Gigi select NET_IFE 953ef6980b6SJamal Hadi Salim ---help--- 954ef6980b6SJamal Hadi Salim Say Y here to allow for sourcing and terminating metadata 955ef6980b6SJamal Hadi Salim For details refer to netdev01 paper: 956ef6980b6SJamal Hadi Salim "Distributing Linux Traffic Control Classifier-Action Subsystem" 957ef6980b6SJamal Hadi Salim Authors: Jamal Hadi Salim and Damascene M. Joachimpillai 958ef6980b6SJamal Hadi Salim 959ef6980b6SJamal Hadi Salim To compile this code as a module, choose M here: the 960ef6980b6SJamal Hadi Salim module will be called act_ife. 961ef6980b6SJamal Hadi Salim 962d0f6dd8aSAmir Vadaiconfig NET_ACT_TUNNEL_KEY 963d0f6dd8aSAmir Vadai tristate "IP tunnel metadata manipulation" 964d0f6dd8aSAmir Vadai depends on NET_CLS_ACT 965d0f6dd8aSAmir Vadai ---help--- 966d0f6dd8aSAmir Vadai Say Y here to set/release ip tunnel metadata. 967d0f6dd8aSAmir Vadai 968d0f6dd8aSAmir Vadai If unsure, say N. 969d0f6dd8aSAmir Vadai 970d0f6dd8aSAmir Vadai To compile this code as a module, choose M here: the 971d0f6dd8aSAmir Vadai module will be called act_tunnel_key. 972d0f6dd8aSAmir Vadai 973b57dc7c1SPaul Blakeyconfig NET_ACT_CT 974b57dc7c1SPaul Blakey tristate "connection tracking tc action" 975*c34b961aSPaul Blakey depends on NET_CLS_ACT && NF_CONNTRACK && NF_NAT && NF_FLOW_TABLE 976b57dc7c1SPaul Blakey help 977b57dc7c1SPaul Blakey Say Y here to allow sending the packets to conntrack module. 978b57dc7c1SPaul Blakey 979b57dc7c1SPaul Blakey If unsure, say N. 980b57dc7c1SPaul Blakey 981b57dc7c1SPaul Blakey To compile this code as a module, choose M here: the 982b57dc7c1SPaul Blakey module will be called act_ct. 983b57dc7c1SPaul Blakey 984084e2f65SJamal Hadi Salimconfig NET_IFE_SKBMARK 985084e2f65SJamal Hadi Salim tristate "Support to encoding decoding skb mark on IFE action" 986084e2f65SJamal Hadi Salim depends on NET_ACT_IFE 987084e2f65SJamal Hadi Salim 988200e10f4SJamal Hadi Salimconfig NET_IFE_SKBPRIO 989200e10f4SJamal Hadi Salim tristate "Support to encoding decoding skb prio on IFE action" 990200e10f4SJamal Hadi Salim depends on NET_ACT_IFE 991200e10f4SJamal Hadi Salim 992408fbc22SJamal Hadi Salimconfig NET_IFE_SKBTCINDEX 993408fbc22SJamal Hadi Salim tristate "Support to encoding decoding skb tcindex on IFE action" 994408fbc22SJamal Hadi Salim depends on NET_ACT_IFE 995408fbc22SJamal Hadi Salim 99695a7233cSPaul Blakeyconfig NET_TC_SKB_EXT 99795a7233cSPaul Blakey bool "TC recirculation support" 99895a7233cSPaul Blakey depends on NET_CLS_ACT 99995a7233cSPaul Blakey select SKB_EXTENSIONS 100095a7233cSPaul Blakey 100195a7233cSPaul Blakey help 100295a7233cSPaul Blakey Say Y here to allow tc chain misses to continue in OvS datapath in 100395a7233cSPaul Blakey the correct recirc_id, and hardware chain misses to continue in 100495a7233cSPaul Blakey the correct chain in tc software datapath. 100595a7233cSPaul Blakey 100695a7233cSPaul Blakey Say N here if you won't be using tc<->ovs offload or tc chains offload. 100795a7233cSPaul Blakey 100805b8b0faSRoman Zippelendif # NET_SCHED 100905b8b0faSRoman Zippel 101085ef3e5cSRandy Dunlapconfig NET_SCH_FIFO 101185ef3e5cSRandy Dunlap bool 1012