net: sched: add couple of goto_chain helpers
authorJiri Pirko <jiri@mellanox.com>
Wed, 23 Aug 2017 08:08:19 +0000 (10:08 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Aug 2017 03:44:32 +0000 (20:44 -0700)
commite457d86ada27cbd2f46ded75d4b4bc06e26d0e2e
treed9a68ade91c7d5f081ce53044919510a3c042735
parent45b62742df6a27fba71f799cd1a2f721e1c0d584
net: sched: add couple of goto_chain helpers

Add helpers to find out if a gact instance is goto_chain termination
action and to get chain index.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tc_act/tc_gact.h