diff options
author | 2024-06-28 12:30:05 -0700 | |
---|---|---|
committer | 2024-07-01 11:23:22 +0100 | |
commit | 060338390787ccbfd71f0796d420b7cd063bcac6 (patch) | |
tree | f407e8ebf4907278a4d4179483e836a06c28ac24 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bnxt_en: Increase the max total outstanding PTP TX packets to 4 (diff) | |
download | wireguard-linux-060338390787ccbfd71f0796d420b7cd063bcac6.tar.xz wireguard-linux-060338390787ccbfd71f0796d420b7cd063bcac6.zip |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions