aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorMoshe Shemesh <[email protected]>2023-07-19 11:33:44 +0300
committerSaeed Mahameed <[email protected]>2023-08-07 11:48:40 -0700
commitd006207625657322ba8251b6e7e829f9659755dc (patch)
tree33e8de2cdc14e497e5c12ac4df40a51494492279 /tools/perf/scripts/python/sctop.py
parent86ed7b773c01ba71617538b3b107c33fd9cf90b8 (diff)
net/mlx5: Skip clock update work when device is in error state
When device is in error state, marked by the flag MLX5_DEVICE_STATE_INTERNAL_ERROR, the HW and PCI may not be accessible and so clock update work should be skipped. Furthermore, such access through PCI in error state, after calling mlx5_pci_disable_device() can result in failing to recover from pci errors. Fixes: ef9814deafd0 ("net/mlx5e: Add HW timestamping (TS) support") Reported-and-tested-by: Ganesh G R <[email protected]> Closes: https://lore.kernel.org/netdev/[email protected] Signed-off-by: Moshe Shemesh <[email protected]> Reviewed-by: Aya Levin <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions