]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
net: sched: extract qstats update code into functions
authorVlad Buslov <vladbu@mellanox.com>
Wed, 30 Oct 2019 14:09:02 +0000 (16:09 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 Oct 2019 01:07:50 +0000 (18:07 -0700)
commit26b537a88ca5b7399c7ab0656e06dbd9da9513c1
treeddbd17541c0dc871b712925bd5e5922b13f1ca75
parent5e1ad95b630e652d3467d1fd1f0b5e5ea2c441e2
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>
include/net/act_api.h
net/sched/act_csum.c
net/sched/act_ct.c
net/sched/act_gact.c
net/sched/act_mirred.c
net/sched/act_vlan.c