diff options
author | Jiri Pirko <jiri@mellanox.com> | 2017-05-17 12:08:03 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-17 22:22:13 +0300 |
commit | db50514f9a9c7ef1f17e9921b1cc0902746872f3 (patch) | |
tree | e4af45ac3ad3c3c8c24774564873cba0b309b7a2 /include/uapi/linux/pkt_cls.h | |
parent | 9fb9f251d229f6cabd9dbe4214eb7f1e6a4e8a9d (diff) | |
download | linux-db50514f9a9c7ef1f17e9921b1cc0902746872f3.tar.xz |
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>
Diffstat (limited to 'include/uapi/linux/pkt_cls.h')
-rw-r--r-- | include/uapi/linux/pkt_cls.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/pkt_cls.h b/include/uapi/linux/pkt_cls.h index d613be3b3239..1b9aa9e6b4fd 100644 --- a/include/uapi/linux/pkt_cls.h +++ b/include/uapi/linux/pkt_cls.h @@ -51,6 +51,7 @@ enum { (((combined) & (~TC_ACT_EXT_VAL_MASK)) == opcode) #define TC_ACT_JUMP __TC_ACT_EXT(1) +#define TC_ACT_GOTO_CHAIN __TC_ACT_EXT(2) /* Action type identifiers*/ enum { |