]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd1f8366c29f41b3de19ee338595540f5083320f7
tree5c7becf58d38f2ce5bac1fb702fb013ec4279858
parent75189f2f25a89e5bd29a489f8e1cf587bd98df13
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]