aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorVadim Fedorenko <[email protected]>2024-06-04 02:19:39 -0700
committerJakub Kicinski <[email protected]>2024-06-05 12:52:42 -0700
commitc790275b5edf5d8280ae520bda7c1f37da460c00 (patch)
treeb74f16ffe024929e4803432b666fdc5d997d8ac9 /tools/perf/scripts/python/export-to-sqlite.py
parent54751f4d5406760f46305725cc61fb72260971b6 (diff)
bnxt_en: fix atomic counter for ptp packets
atomic_dec_if_positive returns new value regardless if it is updated or not. The commit in fixes changed the behavior of the condition to one that differs from original code. Restore original condition to properly maintain atomic counter. Fixes: 165f87691a89 ("bnxt_en: add timestamping statistics support") Reviewed-by: Michael Chan <[email protected]> Signed-off-by: Vadim Fedorenko <[email protected]> Reviewed-by: Simon Horman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions