diff options
author | Vlad Buslov <vladbu@mellanox.com> | 2019-10-30 16:09:02 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-10-30 18:07:50 -0700 |
commit | 26b537a88ca5b7399c7ab0656e06dbd9da9513c1 (patch) | |
tree | ddbd17541c0dc871b712925bd5e5922b13f1ca75 /include/net/sch_generic.h | |
parent | net: sched: extract bstats update code into function (diff) | |
download | linux-dev-26b537a88ca5b7399c7ab0656e06dbd9da9513c1.tar.xz linux-dev-26b537a88ca5b7399c7ab0656e06dbd9da9513c1.zip |
net: sched: extract qstats update code into functions
Extract common code that increments cpu_qstats counters into standalone act
API functions. Change hardware offloaded actions that use percpu counter
allocation to use the new functions instead of accessing cpu_qstats
directly.
This commit doesn't change functionality.
Signed-off-by: Vlad Buslov <vladbu@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sch_generic.h')
0 files changed, 0 insertions, 0 deletions