diff options
author | Samudrala, Sridhar | 2016-05-12 17:08:22 -0700 |
---|---|---|
committer | David S. Miller | 2016-05-16 13:30:56 -0400 |
commit | 760edee8b59ebf05bb268d0a6b568f76bb1bb599 (patch) | |
tree | 336ac21ff69a34bdb7731a05862b42bbb3706a5a /include | |
parent | 860d7ef64da14b642a2b0dc15381b69b7263fc44 (diff) |
net: sched: Move TCA_CLS_FLAGS_SKIP_HW to uapi header file.
Signed-off-by: Sridhar Samudrala <sridhar.samudrala@intel.com>
Acked-by: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/pkt_cls.h | 3 | ||||
-rw-r--r-- | include/uapi/linux/pkt_cls.h | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/net/pkt_cls.h b/include/net/pkt_cls.h index caa5e18636df..339ef08e35ae 100644 --- a/include/net/pkt_cls.h +++ b/include/net/pkt_cls.h @@ -392,9 +392,6 @@ struct tc_cls_u32_offload { }; }; -/* tca flags definitions */ -#define TCA_CLS_FLAGS_SKIP_HW 1 - static inline bool tc_should_offload(struct net_device *dev, u32 flags) { if (!(dev->features & NETIF_F_HW_TC)) diff --git a/include/uapi/linux/pkt_cls.h b/include/uapi/linux/pkt_cls.h index 84660905fedf..3e8b65fb6664 100644 --- a/include/uapi/linux/pkt_cls.h +++ b/include/uapi/linux/pkt_cls.h @@ -151,6 +151,9 @@ enum { #define TCA_POLICE_MAX (__TCA_POLICE_MAX - 1) +/* tca flags definitions */ +#define TCA_CLS_FLAGS_SKIP_HW (1 << 0) + /* U32 filters */ #define TC_U32_HTID(h) ((h)&0xFFF00000) |