diff options
author | Eric Dumazet <edumazet@google.com> | 2025-09-01 09:31:41 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-09-02 15:52:24 -0700 |
commit | 5d14bbf9d1d90cb7ca3e46fe2c8a4277572eab94 (patch) | |
tree | 0b5396024f6567b0cb9b9978dba6d339007e1755 /tools/testing/selftests/net/lib/py/utils.py | |
parent | 3016024d7514e953cb3a6715ce29799373512eb4 (diff) |
net_sched: act: remove tcfa_qstats
tcfa_qstats is currently only used to hold drops and overlimits counters.
tcf_action_inc_drop_qstats() and tcf_action_inc_overlimit_qstats()
currently acquire a->tcfa_lock to increment these counters.
Switch to two atomic_t to get lock-free accounting.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Jamal Hadi Salim <jhs@mojatatu.com>
Link: https://patch.msgid.link/20250901093141.2093176-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions