Unified · Split
| @@ -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 | |||
| 398 | static inline bool tc_should_offload(struct net_device *dev, u32 flags) | 395 | static 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)) |
| @@ -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) |