aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
diff options
context:
space:
mode:
authorMaxim Mikityanskiy <[email protected]>2021-01-29 14:04:34 +0200
committerSaeed Mahameed <[email protected]>2021-03-10 11:01:53 -0800
commit74640f09735f935437bd8df9fe61a66f03eabb34 (patch)
tree458426acda2e277d8e79e2e2fe6072dbe1403dae /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
parente5eb01344e9b09bb9d255b9727449186f7168df8 (diff)
net/mlx5e: Revert parameters on errors when changing PTP state without reset
Port timestamping for PTP can be enabled/disabled while the channels are closed. In that case mlx5e_safe_switch_channels is skipped, and the preactivate hook is called directly. However, if that hook returns an error, the channel parameters must be reverted back to their old values. This commit adds missing handling on this case. Fixes: 145e5637d941 ("net/mlx5e: Add TX PTP port object support") Signed-off-by: Maxim Mikityanskiy <[email protected]> Reviewed-by: Tariq Toukan <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions