aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/Kconfig
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2008-11-08 01:56:00 -0500
committerDavid S. Miller <davem@davemloft.net>2008-11-08 01:56:00 -0500
commitf400923735ecbb67cbe4a3606c9479f694754f51 (patch)
treebfe96ecb2860837bf858ceb180c489c931ed74d9 /net/sched/Kconfig
parent505d4f73dda9e20d59da05008f1f5eb432613e71 (diff)
pkt_sched: Control group classifier
The classifier should cover the most common use case and will work without any special configuration. The principle of the classifier is to directly access the task_struct via get_current(). In order for this to work, classification requests from softirqs must be ignored. This is not a problem because the vast majority of packets in softirq context are not assigned to a task anyway. For this to work, a mechanism is needed to trace softirq context. This repost goes back to the method of relying on the number of nested bh disable calls for the sake of not adding too much complexity and the option to come up with something more reliable if actually needed. Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/Kconfig')
-rw-r--r--net/sched/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/sched/Kconfig b/net/sched/Kconfig
index 6767e54155db..36543b6fcef3 100644
--- a/net/sched/Kconfig
+++ b/net/sched/Kconfig
@@ -316,6 +316,17 @@ config NET_CLS_FLOW
316 To compile this code as a module, choose M here: the 316 To compile this code as a module, choose M here: the
317 module will be called cls_flow. 317 module will be called cls_flow.
318 318
319config NET_CLS_CGROUP
320 bool "Control Group Classifier"
321 select NET_CLS
322 depends on CGROUPS
323 ---help---
324 Say Y here if you want to classify packets based on the control
325 cgroup of their process.
326
327 To compile this code as a module, choose M here: the
328 module will be called cls_cgroup.
329
319config NET_EMATCH 330config NET_EMATCH
320 bool "Extended Matches" 331 bool "Extended Matches"
321 select NET_CLS 332 select NET_CLS