aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorPavan Chebbi <pavan.chebbi@broadcom.com>2024-06-28 12:30:05 -0700
committerDavid S. Miller <davem@davemloft.net>2024-07-01 11:23:22 +0100
commit060338390787ccbfd71f0796d420b7cd063bcac6 (patch)
treef407e8ebf4907278a4d4179483e836a06c28ac24 /tools/perf/scripts/python/task-analyzer.py
parent8aa2a79e9b95eadec5c2a97662adb5b0a8f333ad (diff)
bnxt_en: Remove atomic operations on ptp->tx_avail
Now that we require the spinlock to protect ptp->txts_prod, change ptp->tx_avail to non-atomic and protect it under the same spinlock. Add a new helper function bnxt_ptp_get_txts_prod() to decrement ptp->tx_avail under spinlock and return the producer. Signed-off-by: Pavan Chebbi <pavan.chebbi@broadcom.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions