summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/net/lib/py/utils.py
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2025-09-01 09:31:41 +0000
committerJakub Kicinski <kuba@kernel.org>2025-09-02 15:52:24 -0700
commit5d14bbf9d1d90cb7ca3e46fe2c8a4277572eab94 (patch)
tree0b5396024f6567b0cb9b9978dba6d339007e1755 /tools/testing/selftests/net/lib/py/utils.py
parent3016024d7514e953cb3a6715ce29799373512eb4 (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