[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <99CF0FE4-4CF3-486F-9DF2-E467835E7418@gmail.com>
Date: Mon, 19 Jun 2017 17:21:25 +0800
From: huaixin chang <hansechang@...il.com>
To: John Fastabend <john.fastabend@...il.com>
Cc: huaixin chang <hansechang@...il.com>, eric.dumazet@...il.com,
netdev@...r.kernel.org
Subject: Re: [RFC PATCH v2 12/17] net: sched: add support for TCQ_F_NOLOCK
subqueues to sch_mq
> 在 2017年5月2日,下午11:39,John Fastabend <john.fastabend@...il.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.
Powered by blists - more mailing lists