diff options
author | Jiri Pirko <jiri@resnulli.us> | 2015-05-12 14:56:21 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-05-13 21:19:48 +0200 |
commit | 77b9900ef53ae047e36a37d13a2aa33bb2d60641 (patch) | |
tree | c3923d418d9323bfb7cf123eb57bea2f7c63cbdd /net/sched/Kconfig | |
parent | flow_dissector: change port array into src, dst tuple (diff) | |
download | linux-77b9900ef53ae047e36a37d13a2aa33bb2d60641.tar.xz linux-77b9900ef53ae047e36a37d13a2aa33bb2d60641.zip |
tc: introduce Flower classifier
This patch introduces a flow-based filter. So far, the very essential
packet fields are supported.
This patch is only the first step. There is a lot of potential performance
improvements possible to implement. Also a lot of features are missing
now. They will be addressed in follow-up patches.
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/Kconfig')
-rw-r--r-- | net/sched/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/net/sched/Kconfig b/net/sched/Kconfig index 2274e723a3df..5fd1c2f487d2 100644 --- a/net/sched/Kconfig +++ b/net/sched/Kconfig @@ -477,6 +477,16 @@ config NET_CLS_BPF To compile this code as a module, choose M here: the module will be called cls_bpf. +config NET_CLS_FLOWER + tristate "Flower classifier" + select NET_CLS + ---help--- + If you say Y here, you will be able to classify packets based on + a configurable combination of packet keys and masks. + + To compile this code as a module, choose M here: the module will + be called cls_flower. + config NET_EMATCH bool "Extended Matches" select NET_CLS |