aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/tc_act/tc_skbmod.h
diff options
context:
space:
mode:
authorEli Cohen <eli@mellanox.com>2019-02-10 14:24:59 +0200
committerDavid S. Miller <davem@davemloft.net>2019-02-10 09:28:43 -0800
commit257eeded20b34219d5484cfc415b3e39093f37b8 (patch)
treebc1a7320b23e8d31fc643e3ce76059ea1cd11932 /include/uapi/linux/tc_act/tc_skbmod.h
parentnet: phy: aquantia: add support for AQCS109 (diff)
downloadlinux-dev-257eeded20b34219d5484cfc415b3e39093f37b8.tar.xz
linux-dev-257eeded20b34219d5484cfc415b3e39093f37b8.zip
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 'include/uapi/linux/tc_act/tc_skbmod.h')
-rw-r--r--include/uapi/linux/tc_act/tc_skbmod.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/uapi/linux/tc_act/tc_skbmod.h b/include/uapi/linux/tc_act/tc_skbmod.h
index 38c072f66f2f..c525b3503797 100644
--- a/include/uapi/linux/tc_act/tc_skbmod.h
+++ b/include/uapi/linux/tc_act/tc_skbmod.h
@@ -13,8 +13,6 @@
#include <linux/pkt_cls.h>
-#define TCA_ACT_SKBMOD 15
-
#define SKBMOD_F_DMAC 0x1
#define SKBMOD_F_SMAC 0x2
#define SKBMOD_F_ETYPE 0x4