Re: [PATCH] net: sched: fix wrong class stats dumping in sch_mqprio
From: Cong Wang <hidden>
Date: 2019-11-30 05:48:24
From: Cong Wang <hidden>
Date: 2019-11-30 05:48:24
On Wed, Nov 27, 2019 at 10:31 PM Dust Li [off-list ref] wrote:
Actually, the stack variables bstats and qstats in mqprio_dump_class_stats() are not really used. As a result, 'tc -s class show' for the mqprio class always return 0 for both bstats and qstats. Use them to store the child qdisc's stats and add them up as the stats for the mqprio class.
This patch is on top of the previous one you sent, so please group and number them as "Patch X/N", otherwise it is confusing. Thanks.