|
@@ -795,6 +795,8 @@ static int tc_fill_qdisc(struct sk_buff *skb, struct Qdisc *q, u32 clid,
|
|
tcm->tcm_info = refcount_read(&q->refcnt);
|
|
tcm->tcm_info = refcount_read(&q->refcnt);
|
|
if (nla_put_string(skb, TCA_KIND, q->ops->id))
|
|
if (nla_put_string(skb, TCA_KIND, q->ops->id))
|
|
goto nla_put_failure;
|
|
goto nla_put_failure;
|
|
|
|
+ if (nla_put_u8(skb, TCA_HW_OFFLOAD, !!(q->flags & TCQ_F_OFFLOADED)))
|
|
|
|
+ goto nla_put_failure;
|
|
if (q->ops->dump && q->ops->dump(q, skb) < 0)
|
|
if (q->ops->dump && q->ops->dump(q, skb) < 0)
|
|
goto nla_put_failure;
|
|
goto nla_put_failure;
|
|
qlen = q->q.qlen;
|
|
qlen = q->q.qlen;
|