This series lets hardware only actions drop their per CPU stats:
- skbedit, police, mpls and sample honor TCA_ACT_FLAGS_NO_PERCPU_STATS.
- tunnel_key skips the dst cache for skip_sw actions.
With no_percpu set, the first four count like gact and mirred but also
share their race with hardware stats updates when an offloaded action
also runs in software. A separate net patch fixes that race:
"net/sched: act_api: take tcfa_lock for hardware stats updates".
Alexandre Cassen (2):
net/sched: honor TCA_ACT_FLAGS_NO_PERCPU_STATS in more actions
net/sched: act_tunnel_key: skip dst cache for skip_sw actions
net/sched/act_mpls.c | 8 ++++----
net/sched/act_police.c | 10 +++++-----
net/sched/act_sample.c | 6 +++---
net/sched/act_skbedit.c | 9 +++++----
net/sched/act_tunnel_key.c | 10 +++++++---
5 files changed, 24 insertions(+), 19 deletions(-)
--
2.43.0