> 在 2017年5月2日,下午11:39,John Fastabend <john.fastab...@gmail.com> 写道:
> 
> The sch_mq qdisc creates a sub-qdisc per tx queue which are then
> called independently for enqueue and dequeue operations. However
> statistics are aggregated and pushed up to the "master" qdisc.
> 
> This patch adds support for any of the sub-qdiscs to be per cpu
> statistic qdiscs. To handle this case add a check when calculating
> stats and aggregate the per cpu stats if needed.
> 
> Also exports __gnet_stats_copy_queue() to use as a helper function.

Maybe mq_dump_class_stats() should handle per cpu statistic sub-qdiscs too.

Reply via email to