net: sched: Move TCA_CLS_FLAGS_SKIP_HW to uapi header file.
authorSamudrala, Sridhar <sridhar.samudrala@intel.com>
Fri, 13 May 2016 00:08:22 +0000 (17:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 May 2016 17:30:56 +0000 (13:30 -0400)
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>
include/net/pkt_cls.h
include/uapi/linux/pkt_cls.h

index caa5e18636dfd830e59295ab74d80ffd95bf3f22..339ef08e35ae18d74220829d053b2e69676af007 100644 (file)
@@ -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))
index 84660905fedf92c0448c218ccf90ee768cb8d5e3..3e8b65fb66647143a13865fae6b4841edf1c6fb6 100644 (file)
@@ -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)