aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorRahul Rameshbabu <[email protected]>2023-07-17 11:40:21 -0700
committerSaeed Mahameed <[email protected]>2023-11-15 11:34:30 -0800
commit330af90c4b43bdcc2a49b221bdd996afd3a0abb6 (patch)
tree7ad53dfedb9c3aad236b22242f680a21665c9f94 /tools/perf/scripts/python/check-perf-trace.py
parent88e928b22930343eaad8eefdcba096cdba247ef2 (diff)
net/mlx5: Refactor real time clock operation checks for PHC
Check if the MTUTC register of the NIC can be modified before attempting to execute a real-time clock operation. Previous implementation aborted the real-time clock operation pre-emptively when the MTUTC register used to control the real-time clock was not modifiable, indicating real-time clock mode was not enabled on the NIC. The original control flow was confusing since the noop-if-RTC-disabled branch looked similar to an error handling guard clause. The purpose of this patch is purely for improving readability and should lead to no functional change. Signed-off-by: Rahul Rameshbabu <[email protected]> Reviewed-by: Tariq Toukan <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions