diff options
| author | Eran Ben Elisha <eranbe@mellanox.com> | 2020-06-16 12:07:10 +0300 |
|---|---|---|
| committer | Saeed Mahameed <saeedm@nvidia.com> | 2020-09-15 11:59:50 -0700 |
| commit | 0d2ffdc8d4002a62de31ff7aa3bef28c843c3cbe (patch) | |
| tree | ce2608efa6400d0731adaca921e538fbde6e3d92 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | net/mlx5: Release clock lock before scheduling a PPS work (diff) | |
| download | linux-0d2ffdc8d4002a62de31ff7aa3bef28c843c3cbe.tar.gz linux-0d2ffdc8d4002a62de31ff7aa3bef28c843c3cbe.zip | |
net/mlx5: Don't call timecounter cyc2time directly from 1PPS flow
Before calling timecounter_cyc2time(), clock->lock must be taken.
Use mlx5_timecounter_cyc2time instead which guarantees a safe access.
Fixes: afc98a0b46d8 ("net/mlx5: Update ptp_clock_event foreach PPS event")
Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
