net: sched: act_ctinfo: tidy UAPI definition
authorKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Wed, 19 Jun 2019 17:41:10 +0000 (18:41 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Jun 2019 21:11:01 +0000 (17:11 -0400)
Remove some enums from the UAPI definition that were only used
internally and are NOT part of the UAPI.

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tc_act/tc_ctinfo.h
include/uapi/linux/tc_act/tc_ctinfo.h

index d6a68857167270bc4b38656c982c5965c81e3c8f..f071c1d70a25e14a7a68c6294563a08851fbc738 100644 (file)
@@ -23,6 +23,11 @@ struct tcf_ctinfo {
        u64 stats_cpmark_set;
 };
 
+enum {
+       CTINFO_MODE_DSCP        = BIT(0),
+       CTINFO_MODE_CPMARK      = BIT(1)
+};
+
 #define to_ctinfo(a) ((struct tcf_ctinfo *)a)
 
 #endif /* __NET_TC_CTINFO_H */
index 32337304fbe5809bb0f0f4b1f56604df02f1c117..f5f26d95d0e73d33a927007973a334d6d7272f83 100644 (file)
@@ -26,9 +26,4 @@ enum {
 
 #define TCA_CTINFO_MAX (__TCA_CTINFO_MAX - 1)
 
-enum {
-       CTINFO_MODE_DSCP        = _BITUL(0),
-       CTINFO_MODE_CPMARK      = _BITUL(1)
-};
-
 #endif