summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorJia He2016-09-30 05:28:58 +0200
committerDavid S. Miller2016-09-30 07:50:44 +0200
commit6348ef2dbbd96c4488a1ee83cc0f0f3d9a314a2f (patch)
tree4ceef4c17cfc9396015caee36eef7222e81f188b /net
parentMerge tag 'rxrpc-rewrite-20160929' of git://git.kernel.org/pub/scm/linux/kern... (diff)
downloadkernel-qcow2-linux-6348ef2dbbd96c4488a1ee83cc0f0f3d9a314a2f.tar.gz
kernel-qcow2-linux-6348ef2dbbd96c4488a1ee83cc0f0f3d9a314a2f.tar.xz
kernel-qcow2-linux-6348ef2dbbd96c4488a1ee83cc0f0f3d9a314a2f.zip
net:snmp: Introduce generic interfaces for snmp_get_cpu_field{, 64}
This is to introduce the generic interfaces for snmp_get_cpu_field{,64}. It exchanges the two for-loops for collecting the percpu statistics data. This can aggregate the data by going through all the items of each cpu sequentially. Signed-off-by: Jia He <hejianet@gmail.com> Suggested-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions