diff options
author | 2022-12-05 14:26:09 -0800 | |
---|---|---|
committer | 2023-01-09 22:08:36 -0800 | |
commit | fe91d57277eef8bb4aca05acfa337b4a51d0bba4 (patch) | |
tree | bfa491cbff39aefa47cc204878b577527a04d3d4 /tools/perf/scripts/python | |
parent | net/mlx5e: Fix memory leak on updating vport counters (diff) | |
download | wireguard-linux-fe91d57277eef8bb4aca05acfa337b4a51d0bba4.tar.xz wireguard-linux-fe91d57277eef8bb4aca05acfa337b4a51d0bba4.zip |
net/mlx5: Fix ptp max frequency adjustment range
.max_adj of ptp_clock_info acts as an absolute value for the amount in ppb
that can be set for a single call of .adjfine. This means that a single
call to .getfine cannot be greater than .max_adj or less than -(.max_adj).
Provides correct value for max frequency adjustment value supported by
devices.
Fixes: 3d8c38af1493 ("net/mlx5e: Add PTP Hardware Clock (PHC) support")
Signed-off-by: Rahul Rameshbabu <rrameshbabu@nvidia.com>
Reviewed-by: Gal Pressman <gal@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions