]> 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)
commitf5ed992201dd07fa4bf854a3f8b47b3dba00a495
tree5c7becf58d38f2ce5bac1fb702fb013ec4279858
parent5e5952b22e2d7694d04254be21fd8f6f559c4c0f
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]