History

net: sched: Move TCA_CLS_FLAGS_SKIP_HW to uapi header file.

Samudrala, Sridhar committed 10 years ago

Commit 760edee1 parent 860d7ef2 files · +3 −3Browse files

Unified · Split

2 files
  1. include/net/pkt_cls.h +0 −3
  2. include/uapi/linux/pkt_cls.h +3 −0
include/net/pkt_cls.h+0−3
@@ -392,9 +392,6 @@ struct tc_cls_u32_offload { · 391 unmodified lines
392392 };
393393 };
394394
395−/* tca flags definitions */
396−#define TCA_CLS_FLAGS_SKIP_HW 1
397−
398395 static inline bool tc_should_offload(struct net_device *dev, u32 flags)
399396 {
400397 if (!(dev->features & NETIF_F_HW_TC))
include/uapi/linux/pkt_cls.h+3−0
@@ -151,6 +151,9 @@ enum { · 150 unmodified lines
151151
152152 #define TCA_POLICE_MAX (__TCA_POLICE_MAX - 1)
153153
154+/* tca flags definitions */
155+#define TCA_CLS_FLAGS_SKIP_HW (1 << 0)
156+
154157 /* U32 filters */
155158
156159 #define TC_U32_HTID(h) ((h)&0xFFF00000)