Config.in.sched 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319
  1. menu "QoS and/or fair queueing"
  2. config ADK_KERNEL_NET_SCH_CSZ
  3. boolean
  4. default n
  5. config ADK_KERNEL_NET_SCH_NETEM
  6. boolean
  7. default n
  8. config ADK_KERNEL_NET_QOS
  9. boolean
  10. default n
  11. config ADK_KERNEL_NET_ESTIMATOR
  12. boolean
  13. default n
  14. config ADK_KERNEL_NET_SCHED
  15. boolean
  16. default n
  17. help
  18. When the kernel has several packets to send out over a network
  19. device, it has to decide which ones to send first, which ones to
  20. delay, and which ones to drop. This is the job of the queueing
  21. disciplines, several different algorithms for how to do this
  22. "fairly" have been proposed.
  23. If you say N here, you will get the standard packet scheduler, which
  24. is a FIFO (first come, first served). If you say Y here, you will be
  25. able to choose from among several alternative algorithms which can
  26. then be attached to different network devices. This is useful for
  27. example if some of your network devices are real time devices that
  28. need a certain minimum data flow rate, or if you need to limit the
  29. maximum data flow rate for traffic which matches specified criteria.
  30. This code is considered to be experimental.
  31. To administer these schedulers, you'll need the user-level utilities
  32. from the package iproute2+tc at <ftp://ftp.tux.org/pub/net/ip-routing/>.
  33. That package also contains some documentation; for more, check out
  34. <http://linux-net.osdl.org/index.php/Iproute2>.
  35. This Quality of Service (QoS) support will enable you to use
  36. Differentiated Services (diffserv) and Resource Reservation Protocol
  37. (RSVP) on your Linux router if you also say Y to the corresponding
  38. classifiers below. Documentation and software is at
  39. <http://diffserv.sourceforge.net/>.
  40. comment "Queueing/Scheduling"
  41. config ADK_KPACKAGE_KMOD_NET_SCH_CBQ
  42. prompt "kmod-sched-cbq.................... Class Based Queueing (CBQ)"
  43. tristate
  44. select ADK_KERNEL_NET_SCHED
  45. default n
  46. help
  47. Say Y here if you want to use the Class-Based Queueing (CBQ) packet
  48. scheduling algorithm. This algorithm classifies the waiting packets
  49. into a tree-like hierarchy of classes; the leaves of this tree are
  50. in turn scheduled by separate algorithms.
  51. See the top of <file:net/sched/sch_cbq.c> for more details.
  52. CBQ is a commonly used scheduler, so if you're unsure, you should
  53. say Y here. Then say Y to all the queueing algorithms below that you
  54. want to use as leaf disciplines.
  55. config ADK_KPACKAGE_KMOD_NET_SCH_HTB
  56. prompt "kmod-sched-htb.................... Hierarchical Token Bucket (HTB)"
  57. tristate
  58. select ADK_KERNEL_NET_SCHED
  59. default n
  60. help
  61. Say Y here if you want to use the Hierarchical Token Buckets (HTB)
  62. packet scheduling algorithm. See
  63. <http://luxik.cdi.cz/~devik/qos/htb/> for complete manual and
  64. in-depth articles.
  65. HTB is very similar to CBQ regarding its goals however is has
  66. different properties and different algorithm.
  67. config ADK_KPACKAGE_KMOD_NET_SCH_HFSC
  68. prompt "kmod-sched-hfsc................... Hierarchical Fair Service Curve (HFSC)"
  69. tristate
  70. select ADK_KERNEL_NET_SCHED
  71. default n
  72. help
  73. Say Y here if you want to use the Hierarchical Fair Service Curve
  74. (HFSC) packet scheduling algorithm.
  75. config ADK_KPACKAGE_KMOD_NET_SCH_ATM
  76. prompt "kmod-sched-atm.................... ATM Virtual Circuits (ATM)"
  77. tristate
  78. depends on ADK_KPACKAGE_KMOD_ATM
  79. select ADK_KERNEL_NET_SCHED
  80. default n
  81. help
  82. Say Y here if you want to use the ATM pseudo-scheduler. This
  83. provides a framework for invoking classifiers, which in turn
  84. select classes of this queuing discipline. Each class maps
  85. the flow(s) it is handling to a given virtual circuit.
  86. See the top of <file:net/sched/sch_atm.c>) for more details.
  87. config ADK_KPACKAGE_KMOD_NET_SCH_PRIO
  88. prompt "kmod-sched-prio................... Multi Band Priority Queueing (PRIO)"
  89. tristate
  90. select ADK_KERNEL_NET_SCHED
  91. default n
  92. help
  93. Say Y here if you want to use an n-band priority queue packet
  94. scheduler.
  95. config ADK_KPACKAGE_KMOD_NET_SCH_RED
  96. prompt "kmod-sched-red.................... Random Early Detection (RED)"
  97. tristate
  98. select ADK_KERNEL_NET_SCHED
  99. default n
  100. help
  101. Say Y here if you want to use the Random Early Detection (RED)
  102. packet scheduling algorithm.
  103. See the top of <file:net/sched/sch_red.c> for more details.
  104. config ADK_KPACKAGE_KMOD_NET_SCH_SFQ
  105. prompt "kmod-sched-sfq.................... Stochastic Fairness Queueing (SFQ)"
  106. tristate
  107. select ADK_KERNEL_NET_SCHED
  108. default n
  109. help
  110. Say Y here if you want to use the Stochastic Fairness Queueing (SFQ)
  111. packet scheduling algorithm .
  112. See the top of <file:net/sched/sch_sfq.c> for more details.
  113. #config ADK_KPACKAGE_KMOD_NET_SCH_TEQL
  114. # prompt "kmod-sched-teql................... True Link Equalizer (TEQL)"
  115. # tristate
  116. # select ADK_KERNEL_NET_SCHED
  117. # default n
  118. # help
  119. # Say Y here if you want to use the True Link Equalizer (TLE) packet
  120. # scheduling algorithm. This queueing discipline allows the combination
  121. # of several physical devices into one virtual device.
  122. #
  123. # See the top of <file:net/sched/sch_teql.c> for more details.
  124. config ADK_KPACKAGE_KMOD_NET_SCH_TBF
  125. prompt "kmod-sched-tbf.................... Token Bucket Filter (TBF)"
  126. tristate
  127. select ADK_KERNEL_NET_SCHED
  128. default n
  129. help
  130. Say Y here if you want to use the Token Bucket Filter (TBF) packet
  131. scheduling algorithm.
  132. See the top of <file:net/sched/sch_tbf.c> for more details.
  133. config ADK_KPACKAGE_KMOD_NET_SCH_GRED
  134. prompt "kmod-sched-gred................... Generic Random Early Detection (GRED)"
  135. tristate
  136. select ADK_KERNEL_NET_SCHED
  137. default n
  138. help
  139. Say Y here if you want to use the Generic Random Early Detection
  140. (GRED) packet scheduling algorithm for some of your network devices
  141. (see the top of <file:net/sched/sch_red.c> for details and
  142. references about the algorithm).
  143. config ADK_KPACKAGE_KMOD_NET_SCH_DSMARK
  144. prompt "kmod-sched-dsmark................. Differentiated Services marker (DSMARK)"
  145. tristate
  146. select ADK_KERNEL_NET_SCHED
  147. default n
  148. help
  149. Say Y if you want to schedule packets according to the
  150. Differentiated Services architecture proposed in RFC 2475.
  151. Technical information on this method, with pointers to associated
  152. RFCs, is available at <http://www.gta.ufrj.br/diffserv/>.
  153. config ADK_KPACKAGE_KMOD_NET_SCH_INGRESS
  154. prompt "kmod-sched-ingress................ Ingress Qdisc"
  155. tristate
  156. select ADK_KERNEL_NET_SCHED
  157. select ADK_KERNEL_NETFILTER
  158. select ADK_KERNEL_NET_CLS_ACT
  159. default n
  160. help
  161. Say Y here if you want to use classifiers for incoming packets.
  162. If unsure, say Y.
  163. comment "Classification"
  164. config ADK_KERNEL_NET_CLS
  165. boolean
  166. select ADK_KERNEL_NET_SCHED
  167. default n
  168. config ADK_KPACKAGE_KMOD_NET_CLS_BASIC
  169. prompt "kmod-cls-basic.................... Elementary classification (BASIC)"
  170. tristate
  171. select ADK_KERNEL_NET_CLS
  172. default n
  173. help
  174. Say Y here if you want to be able to classify packets using
  175. only extended matches and actions.
  176. config ADK_KPACKAGE_KMOD_NET_CLS_TCINDEX
  177. prompt "kmod-cls-tcindex.................. Traffic-Control Index (TCINDEX)"
  178. tristate
  179. select ADK_KERNEL_NET_CLS
  180. default n
  181. help
  182. Say Y here if you want to be able to classify packets based on
  183. traffic control indices. You will want this feature if you want
  184. to implement Differentiated Services together with DSMARK.
  185. config ADK_KPACKAGE_KMOD_NET_CLS_ROUTE4
  186. prompt "kmod-cls-route4................... Routing decision (ROUTE)"
  187. tristate
  188. select ADK_KERNEL_NET_CLS
  189. default n
  190. help
  191. If you say Y here, you will be able to classify packets
  192. according to the route table entry they matched.
  193. config ADK_KPACKAGE_KMOD_NET_CLS_FW
  194. prompt "kmod-cls-fw....................... Netfilter mark (FW)"
  195. tristate
  196. select ADK_KERNEL_NET_CLS
  197. default n
  198. help
  199. If you say Y here, you will be able to classify packets
  200. according to netfilter/firewall marks.
  201. config ADK_KPACKAGE_KMOD_NET_CLS_U32
  202. prompt "kmod-cls-u32...................... Universal 32bit comparisons w/ hashing (U32)"
  203. tristate
  204. select ADK_KERNEL_NET_CLS
  205. default n
  206. help
  207. Say Y here to be able to classify packets using a universal
  208. 32bit pieces based comparison scheme.
  209. config ADK_KPACKAGE_KMOD_NET_CLS_U32_PERF
  210. prompt ".................................. Performance counters support"
  211. bool
  212. select ADK_KERNEL_NET_CLS
  213. depends on ADK_KPACKAGE_KMOD_NET_CLS_U32
  214. default n
  215. help
  216. Say Y here to make u32 gather additional statistics useful for
  217. fine tuning u32 classifiers.
  218. config ADK_KPACKAGE_KMOD_NET_CLS_U32_MARK
  219. prompt ".................................. Netfilter marks support"
  220. bool
  221. select ADK_KERNEL_NET_CLS
  222. depends on ADK_KPACKAGE_KMOD_NET_CLS_U32
  223. depends on ADK_KPACKAGE_KMOD_NET_CLS_FW
  224. default n
  225. help
  226. Say Y here to be able to use netfilter marks as u32 key.
  227. comment "Actions"
  228. config ADK_KERNEL_NET_CLS_ACT
  229. boolean
  230. select ADK_KERNEL_NET_SCHED
  231. select ADK_KERNEL_NET_ESTIMATOR
  232. default n
  233. config ADK_KPACKAGE_KMOD_NET_ACT_POLICE
  234. prompt "kmod-act-police................... Traffic Policing"
  235. tristate
  236. select ADK_KERNEL_NET_CLS_ACT
  237. default n
  238. help
  239. Say Y here if you want to do traffic policing, i.e. strict
  240. bandwidth limiting. This action replaces the existing policing
  241. module.
  242. config ADK_KPACKAGE_KMOD_NET_ACT_GACT
  243. prompt "kmod-act-gact..................... Generic actions"
  244. tristate
  245. select ADK_KERNEL_NET_CLS_ACT
  246. default n
  247. help
  248. Say Y here to take generic actions such as dropping and
  249. accepting packets.
  250. config ADK_KPACKAGE_KMOD_NET_ACT_MIRRED
  251. prompt "kmod-act-mirred................... Redirecting and Mirroring"
  252. tristate
  253. select ADK_KERNEL_NET_CLS_ACT
  254. default n
  255. help
  256. Say Y here to allow packets to be mirrored or redirected to
  257. other devices.
  258. config ADK_KPACKAGE_KMOD_NET_ACT_IPT
  259. prompt "kmod-act-ipt...................... IPtables targets"
  260. tristate
  261. select ADK_KERNEL_NET_CLS_ACT
  262. select ADK_KPACKAGE_KMOD_IP_NF_IPTABLES
  263. default n
  264. help
  265. Say Y here to be able to invoke iptables targets after successful
  266. classification.
  267. config ADK_KPACKAGE_KMOD_NET_ACT_PEDIT
  268. prompt "kmod-act-pedit.................... Packet Editing"
  269. tristate
  270. select ADK_KERNEL_NET_CLS_ACT
  271. default n
  272. help
  273. Say Y here if you want to mangle the content of packets.
  274. endmenu