summaryrefslogtreecommitdiffstats
path: root/net/sched/act_gact.c
diff options
context:
space:
mode:
authorVlad Buslov <vladbu@mellanox.com>2019-10-30 15:09:04 +0100
committerDavid S. Miller <davem@davemloft.net>2019-10-31 02:07:50 +0100
commit5e174d5e73dfbfb2c4bc4804f58f2f2aa34c9281 (patch)
tree2d4d59cc6776d57a2253be73813889229709dd71 /net/sched/act_gact.c
parentnet: sched: don't expose action qstats to skb_tc_reinsert() (diff)
downloadlinux-5e174d5e73dfbfb2c4bc4804f58f2f2aa34c9281.tar.xz
linux-5e174d5e73dfbfb2c4bc4804f58f2f2aa34c9281.zip
net: sched: modify stats helper functions to support regular stats
Modify stats update helper functions introduced in previous patches in this series to fallback to regular tc_action->tcfa_{b|q}stats if cpu stats are not allocated for the action argument. If regular non-percpu allocated counters are in use, then obtain action tcfa_lock while modifying them. 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 'net/sched/act_gact.c')
0 files changed, 0 insertions, 0 deletions