diff options
author | Eli Cohen <eli@mellanox.com> | 2019-02-10 15:24:59 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-10 20:28:43 +0300 |
commit | 257eeded20b34219d5484cfc415b3e39093f37b8 (patch) | |
tree | bc1a7320b23e8d31fc643e3ce76059ea1cd11932 /net/sched/act_simple.c | |
parent | 99c864667c9fe3d1113a2b906aa942d01c87e996 (diff) | |
download | linux-257eeded20b34219d5484cfc415b3e39093f37b8.tar.xz |
net: Move all TC actions identifiers to one place
Move all the TC identifiers to one place, to the same enum that defines
the identifier of police action. This makes it easier choose numbers for
new actions since they are now defined in one place. We preserve the
original values for binary compatibility. New IDs should be added inside
the enum.
Signed-off-by: Eli Cohen <eli@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/act_simple.c')
-rw-r--r-- | net/sched/act_simple.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/sched/act_simple.c b/net/sched/act_simple.c index 902957beceb3..b2b16d440154 100644 --- a/net/sched/act_simple.c +++ b/net/sched/act_simple.c @@ -19,8 +19,6 @@ #include <net/netlink.h> #include <net/pkt_sched.h> -#define TCA_ACT_SIMP 22 - #include <linux/tc_act/tc_defact.h> #include <net/tc_act/tc_defact.h> |