]> asedeno.scripts.mit.edu Git - linux.git/commit
net: sched: introduce helper to identify gact trap action
authorJiri Pirko <jiri@mellanox.com>
Tue, 6 Jun 2017 12:12:03 +0000 (14:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Jun 2017 16:45:23 +0000 (12:45 -0400)
commit5a4d1fee2f844813cb2092b7a06b0e20ed9e2fa4
treeb939e5c5da3c3d20a37ab705d43f194f8a61a9ba
parente25ea21ffa66a029acfa89d2611c0e7ef23e7d8c
net: sched: introduce helper to identify gact trap action

Introduce a helper called is_tcf_gact_trap which could be used to
tell if the action is gact trap or not.

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