Config.in.sched 8.4 KB

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