]> git.karo-electronics.de Git - karo-tx-linux.git/commit
net: sched: add termination action to allow goto chain
authorJiri Pirko <jiri@mellanox.com>
Wed, 17 May 2017 09:08:03 +0000 (11:08 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 May 2017 19:22:13 +0000 (15:22 -0400)
commitdb50514f9a9c7ef1f17e9921b1cc0902746872f3
treee4af45ac3ad3c3c8c24774564873cba0b309b7a2
parent9fb9f251d229f6cabd9dbe4214eb7f1e6a4e8a9d
net: sched: add termination action to allow goto chain

Introduce new type of termination action called "goto_chain". This allows
user to specify a chain to be processed. This action type is
then processed as a return value in tcf_classify loop in similar
way as "reclassify" is, only it does not reset to the first filter
in chain but rather reset to the first filter of the desired chain.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/act_api.h
include/net/sch_generic.h
include/uapi/linux/pkt_cls.h
net/sched/act_api.c
net/sched/cls_api.c