Skip to content

Commit

Permalink
net: sched: act_ctinfo: tidy UAPI definition
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kevin Darbyshire-Bryant authored and David S. Miller committed Jun 19, 2019
1 parent 6c9bef3 commit 16e5a26
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 5 additions & 0 deletions include/net/tc_act/tc_ctinfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
5 changes: 0 additions & 5 deletions include/uapi/linux/tc_act/tc_ctinfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 16e5a26

Please sign in to comment.