Config.in.sched 10.0 KB

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