net/sched: introduce Match-all classifier
authorJiri Pirko <jiri@mellanox.com>
Thu, 21 Jul 2016 10:03:11 +0000 (12:03 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Jul 2016 06:11:59 +0000 (23:11 -0700)
commitbf3994d2ed310813da28362d87bfe9f0e1c3e37f
tree5c7becf58d38f2ce5bac1fb702fb013ec4279858
parentded821c8d3793efe00195dd7ab633f6412dd8ae0
net/sched: introduce Match-all classifier

The matchall classifier matches every packet and allows the user to apply
actions on it. This filter is very useful in usecases where every packet
should be matched, for example, packet mirroring (SPAN) can be setup very
easily using that filter.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Yotam Gigi <yotamg@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/pkt_cls.h
net/sched/Kconfig
net/sched/Makefile
net/sched/cls_matchall.c [new file with mode: 0644]