Config.in.sched 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307
  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_KERNEL_NET_SCH_CBQ
  42. prompt "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_KERNEL_NET_SCH_HTB
  56. prompt "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_KERNEL_NET_SCH_HFSC
  68. prompt "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_KERNEL_NET_SCH_ATM
  76. prompt "ATM Virtual Circuits (ATM)"
  77. tristate
  78. depends on ADK_KERNEL_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_KERNEL_NET_SCH_PRIO
  88. prompt "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_KERNEL_NET_SCH_RED
  96. prompt "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_KERNEL_NET_SCH_SFQ
  105. prompt "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_KERNEL_NET_SCH_TBF
  114. prompt "Token Bucket Filter (TBF)"
  115. tristate
  116. select ADK_KERNEL_NET_SCHED
  117. default n
  118. help
  119. Say Y here if you want to use the Token Bucket Filter (TBF) packet
  120. scheduling algorithm.
  121. See the top of <file:net/sched/sch_tbf.c> for more details.
  122. config ADK_KERNEL_NET_SCH_GRED
  123. prompt "Generic Random Early Detection (GRED)"
  124. tristate
  125. select ADK_KERNEL_NET_SCHED
  126. default n
  127. help
  128. Say Y here if you want to use the Generic Random Early Detection
  129. (GRED) packet scheduling algorithm for some of your network devices
  130. (see the top of <file:net/sched/sch_red.c> for details and
  131. references about the algorithm).
  132. config ADK_KERNEL_NET_SCH_DSMARK
  133. prompt "Differentiated Services marker (DSMARK)"
  134. tristate
  135. select ADK_KERNEL_NET_SCHED
  136. default n
  137. help
  138. Say Y if you want to schedule packets according to the
  139. Differentiated Services architecture proposed in RFC 2475.
  140. Technical information on this method, with pointers to associated
  141. RFCs, is available at <http://www.gta.ufrj.br/diffserv/>.
  142. config ADK_KERNEL_NET_SCH_INGRESS
  143. prompt "Ingress Qdisc"
  144. tristate
  145. select ADK_KERNEL_NET_SCHED
  146. select ADK_KERNEL_NETFILTER
  147. select ADK_KERNEL_NET_CLS_ACT
  148. default n
  149. help
  150. Say Y here if you want to use classifiers for incoming packets.
  151. If unsure, say Y.
  152. comment "Classification"
  153. config ADK_KERNEL_NET_CLS
  154. boolean
  155. select ADK_KERNEL_NET_SCHED
  156. default n
  157. config ADK_KERNEL_NET_CLS_BASIC
  158. prompt "Elementary classification (BASIC)"
  159. tristate
  160. select ADK_KERNEL_NET_CLS
  161. default n
  162. help
  163. Say Y here if you want to be able to classify packets using
  164. only extended matches and actions.
  165. config ADK_KERNEL_NET_CLS_TCINDEX
  166. prompt "Traffic-Control Index (TCINDEX)"
  167. tristate
  168. select ADK_KERNEL_NET_CLS
  169. default n
  170. help
  171. Say Y here if you want to be able to classify packets based on
  172. traffic control indices. You will want this feature if you want
  173. to implement Differentiated Services together with DSMARK.
  174. config ADK_KERNEL_NET_CLS_ROUTE4
  175. prompt "Routing decision (ROUTE)"
  176. tristate
  177. select ADK_KERNEL_NET_CLS
  178. default n
  179. help
  180. If you say Y here, you will be able to classify packets
  181. according to the route table entry they matched.
  182. config ADK_KERNEL_NET_CLS_FW
  183. prompt "Netfilter mark (FW)"
  184. tristate
  185. select ADK_KERNEL_NET_CLS
  186. default n
  187. help
  188. If you say Y here, you will be able to classify packets
  189. according to netfilter/firewall marks.
  190. config ADK_KERNEL_NET_CLS_U32
  191. prompt "Universal 32bit comparisons w/ hashing (U32)"
  192. tristate
  193. select ADK_KERNEL_NET_CLS
  194. default n
  195. help
  196. Say Y here to be able to classify packets using a universal
  197. 32bit pieces based comparison scheme.
  198. config ADK_KERNEL_NET_CLS_U32_PERF
  199. prompt "Performance counters support"
  200. bool
  201. select ADK_KERNEL_NET_CLS
  202. depends on ADK_KERNEL_NET_CLS_U32
  203. default n
  204. help
  205. Say Y here to make u32 gather additional statistics useful for
  206. fine tuning u32 classifiers.
  207. config ADK_KERNEL_NET_CLS_U32_MARK
  208. prompt "Netfilter marks support"
  209. bool
  210. select ADK_KERNEL_NET_CLS
  211. depends on ADK_KERNEL_NET_CLS_U32
  212. depends on ADK_KERNEL_NET_CLS_FW
  213. default n
  214. help
  215. Say Y here to be able to use netfilter marks as u32 key.
  216. comment "Actions"
  217. config ADK_KERNEL_NET_CLS_ACT
  218. boolean
  219. select ADK_KERNEL_NET_SCHED
  220. select ADK_KERNEL_NET_ESTIMATOR
  221. default n
  222. config ADK_KERNEL_NET_ACT_POLICE
  223. prompt "Traffic Policing"
  224. tristate
  225. select ADK_KERNEL_NET_CLS_ACT
  226. default n
  227. help
  228. Say Y here if you want to do traffic policing, i.e. strict
  229. bandwidth limiting. This action replaces the existing policing
  230. module.
  231. config ADK_KERNEL_NET_ACT_GACT
  232. prompt "Generic actions"
  233. tristate
  234. select ADK_KERNEL_NET_CLS_ACT
  235. default n
  236. help
  237. Say Y here to take generic actions such as dropping and
  238. accepting packets.
  239. config ADK_KERNEL_NET_ACT_MIRRED
  240. prompt "Redirecting and Mirroring"
  241. tristate
  242. select ADK_KERNEL_NET_CLS_ACT
  243. default n
  244. help
  245. Say Y here to allow packets to be mirrored or redirected to
  246. other devices.
  247. config ADK_KERNEL_NET_ACT_IPT
  248. prompt "IPtables targets"
  249. tristate
  250. select ADK_KERNEL_NET_CLS_ACT
  251. select ADK_KERNEL_IP_NF_IPTABLES
  252. default n
  253. help
  254. Say Y here to be able to invoke iptables targets after successful
  255. classification.
  256. config ADK_KERNEL_NET_ACT_PEDIT
  257. prompt "Packet Editing"
  258. tristate
  259. select ADK_KERNEL_NET_CLS_ACT
  260. default n
  261. help
  262. Say Y here if you want to mangle the content of packets.
  263. endmenu