diff options
author | Vadim Fedorenko <vadfed@meta.com> | 2024-10-16 22:52:34 +0300 |
---|---|---|
committer | Andrew Lunn <andrew@lunn.ch> | 2024-10-20 00:16:25 +0300 |
commit | 4ab3e4983bcc9d9b9dd9720253cb93f44e9e657c (patch) | |
tree | 2867c3fbc011d2d41ad0cbac22a9a43e92aea9de /tools/perf/scripts/python/export-to-postgresql.py | |
parent | de96f6a3003513c796bbe4e23210a446913f5c00 (diff) | |
download | linux-4ab3e4983bcc9d9b9dd9720253cb93f44e9e657c.tar.xz |
bnxt_en: replace ptp_lock with irqsave variant
In netpoll configuration the completion processing can happen in hard
irq context which will break with spin_lock_bh() for fullfilling RX
timestamp in case of all packets timestamping. Replace it with
spin_lock_irqsave() variant.
Fixes: 7f5515d19cd7 ("bnxt_en: Get the RX packet timestamp")
Reviewed-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: Vadim Fedorenko <vadfed@meta.com>
Message-ID: <20241016195234.2622004-1-vadfed@meta.com>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions