Config.in.sched 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337
  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. depends on ADK_LINUX_2_6
  174. default n
  175. help
  176. Say Y here if you want to be able to classify packets using
  177. only extended matches and actions.
  178. config ADK_KPACKAGE_KMOD_NET_CLS_TCINDEX
  179. prompt "kmod-cls-tcindex.................. Traffic-Control Index (TCINDEX)"
  180. tristate
  181. select ADK_KERNEL_NET_CLS
  182. default n
  183. help
  184. Say Y here if you want to be able to classify packets based on
  185. traffic control indices. You will want this feature if you want
  186. to implement Differentiated Services together with DSMARK.
  187. config ADK_KPACKAGE_KMOD_NET_CLS_ROUTE4
  188. prompt "kmod-cls-route4................... Routing decision (ROUTE)"
  189. tristate
  190. select ADK_KERNEL_NET_CLS
  191. default n
  192. help
  193. If you say Y here, you will be able to classify packets
  194. according to the route table entry they matched.
  195. config ADK_KPACKAGE_KMOD_NET_CLS_FW
  196. prompt "kmod-cls-fw....................... Netfilter mark (FW)"
  197. tristate
  198. select ADK_KERNEL_NET_CLS
  199. default n
  200. help
  201. If you say Y here, you will be able to classify packets
  202. according to netfilter/firewall marks.
  203. config ADK_KPACKAGE_KMOD_NET_CLS_U32
  204. prompt "kmod-cls-u32...................... Universal 32bit comparisons w/ hashing (U32)"
  205. tristate
  206. select ADK_KERNEL_NET_CLS
  207. default n
  208. help
  209. Say Y here to be able to classify packets using a universal
  210. 32bit pieces based comparison scheme.
  211. config ADK_KPACKAGE_KMOD_NET_CLS_U32_PERF
  212. prompt ".................................. Performance counters support"
  213. bool
  214. select ADK_KERNEL_NET_CLS
  215. depends on ADK_KPACKAGE_KMOD_NET_CLS_U32
  216. default n
  217. help
  218. Say Y here to make u32 gather additional statistics useful for
  219. fine tuning u32 classifiers.
  220. config ADK_KPACKAGE_KMOD_NET_CLS_U32_MARK
  221. prompt ".................................. Netfilter marks support"
  222. bool
  223. select ADK_KERNEL_NET_CLS
  224. depends on ADK_KPACKAGE_KMOD_NET_CLS_U32
  225. depends on ADK_KPACKAGE_KMOD_NET_CLS_FW
  226. default n
  227. help
  228. Say Y here to be able to use netfilter marks as u32 key.
  229. comment "Actions"
  230. config ADK_KERNEL_NET_CLS_ACT
  231. boolean
  232. select ADK_KERNEL_NET_SCHED
  233. select ADK_KERNEL_NET_ESTIMATOR
  234. default n
  235. config ADK_KPACKAGE_KMOD_NET_CLS_POLICE
  236. prompt "kmod-act-police................... Traffic Policing"
  237. tristate
  238. select ADK_KERNEL_NET_CLS_ACT
  239. depends on ADK_LINUX_2_4
  240. default n
  241. help
  242. Say Y here if you want to do traffic policing, i.e. strict
  243. bandwidth limiting. This action replaces the existing policing
  244. module.
  245. config ADK_KPACKAGE_KMOD_NET_ACT_POLICE
  246. prompt "kmod-act-police................... Traffic Policing"
  247. tristate
  248. select ADK_KERNEL_NET_CLS_ACT
  249. depends on ADK_LINUX_2_6
  250. default n
  251. help
  252. Say Y here if you want to do traffic policing, i.e. strict
  253. bandwidth limiting. This action replaces the existing policing
  254. module.
  255. config ADK_KPACKAGE_KMOD_NET_ACT_GACT
  256. prompt "kmod-act-gact..................... Generic actions"
  257. tristate
  258. select ADK_KERNEL_NET_CLS_ACT
  259. depends on ADK_LINUX_2_6
  260. default n
  261. help
  262. Say Y here to take generic actions such as dropping and
  263. accepting packets.
  264. config ADK_KPACKAGE_KMOD_NET_ACT_MIRRED
  265. prompt "kmod-act-mirred................... Redirecting and Mirroring"
  266. tristate
  267. select ADK_KERNEL_NET_CLS_ACT
  268. depends on ADK_LINUX_2_6
  269. default n
  270. help
  271. Say Y here to allow packets to be mirrored or redirected to
  272. other devices.
  273. config ADK_KPACKAGE_KMOD_NET_ACT_IPT
  274. prompt "kmod-act-ipt...................... IPtables targets"
  275. tristate
  276. select ADK_KERNEL_NET_CLS_ACT
  277. select ADK_KPACKAGE_KMOD_IP_NF_IPTABLES
  278. depends on ADK_LINUX_2_6
  279. default n
  280. help
  281. Say Y here to be able to invoke iptables targets after successful
  282. classification.
  283. config ADK_KPACKAGE_KMOD_NET_ACT_PEDIT
  284. prompt "kmod-act-pedit.................... Packet Editing"
  285. tristate
  286. select ADK_KERNEL_NET_CLS_ACT
  287. depends on ADK_LINUX_2_6
  288. default n
  289. help
  290. Say Y here if you want to mangle the content of packets.
  291. endmenu