]> git.baikalelectronics.ru Git - kernel.git/commit
net: sched: extend percpu stats helpers
authorEric Dumazet <edumazet@google.com>
Mon, 6 Jul 2015 12:18:03 +0000 (05:18 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Jul 2015 20:50:41 +0000 (13:50 -0700)
commite8268b6d2f3c4f53445f24928c04ccf6e9f60ad6
tree95ae7d3d430f95955c2ab0a19cfffe37d478c4a1
parent5442d30a62a791b63983836c5b27486e8636127d
net: sched: extend percpu stats helpers

qdisc_bstats_update_cpu() and other helpers were added to support
percpu stats for qdisc.

We want to add percpu stats for tc action, so this patch add common
helpers.

qdisc_bstats_update_cpu() is renamed to qdisc_bstats_cpu_update()
qdisc_qstats_drop_cpu() is renamed to qdisc_qstats_cpu_drop()

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Alexei Starovoitov <ast@plumgrid.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Acked-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sch_generic.h
net/core/dev.c