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
392 };392 };
393};393};
394 394
395/* tca flags definitions */
396#define TCA_CLS_FLAGS_SKIP_HW 1
397
398static inline bool tc_should_offload(struct net_device *dev, u32 flags)395static inline bool tc_should_offload(struct net_device *dev, u32 flags)
399{396{
400 if (!(dev->features & NETIF_F_HW_TC))397 if (!(dev->features & NETIF_F_HW_TC))
include/uapi/linux/pkt_cls.h+3−0
@@ -151,6 +151,9 @@ enum { · 150 unmodified lines
151 151
152#define TCA_POLICE_MAX (__TCA_POLICE_MAX - 1)152#define TCA_POLICE_MAX (__TCA_POLICE_MAX - 1)
153 153
154/* tca flags definitions */
155#define TCA_CLS_FLAGS_SKIP_HW (1 << 0)
156
154/* U32 filters */157/* U32 filters */
155 158
156#define TC_U32_HTID(h) ((h)&0xFFF00000)159#define TC_U32_HTID(h) ((h)&0xFFF00000)