提交 760edee8 编写于 作者: S Samudrala, Sridhar 提交者: David S. Miller

net: sched: Move TCA_CLS_FLAGS_SKIP_HW to uapi header file.

Signed-off-by: NSridhar Samudrala <sridhar.samudrala@intel.com>
Acked-by: NJohn Fastabend <john.r.fastabend@intel.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 860d7ef6
......@@ -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))
......
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册