]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
Merge branch 'net-add-and-use-function-dev_fetch_sw_netstats-for-fetching-pcpu_sw_net...
authorJakub Kicinski <kuba@kernel.org>
Wed, 14 Oct 2020 00:34:26 +0000 (17:34 -0700)
committerJakub Kicinski <kuba@kernel.org>
Wed, 14 Oct 2020 00:37:37 +0000 (17:37 -0700)
commita003ec1f47bc7c34e1dc96653b903c48f63adcdb
tree995db2093a9e84457f0ac54e6a048294ab41abec
parent3618ad2a7c0e78e4258386394d5d5f92a3dbccf8
parent5fc3594d36d16794facc533cc2a80d3f5bd7c921
Merge branch 'net-add-and-use-function-dev_fetch_sw_netstats-for-fetching-pcpu_sw_netstats'

Heiner Kallweit says:

====================
net: add and use function dev_fetch_sw_netstats for fetching pcpu_sw_netstats

In several places the same code is used to populate rtnl_link_stats64
fields with data from pcpu_sw_netstats. Therefore factor out this code
to a new function dev_fetch_sw_netstats().
====================

Signed-off-by: Jakub Kicinski <kuba@kernel.org>