summaryrefslogtreecommitdiff
path: root/include/linux/mlx5
diff options
context:
space:
mode:
authorRahul Rameshbabu <rrameshbabu@nvidia.com>2022-10-12 03:28:10 +0300
committerSaeed Mahameed <saeedm@nvidia.com>2023-01-18 21:34:07 +0300
commit8e11a68e2e8abf6510508b75b49ec5953ca262b6 (patch)
treeaef169b1b407519ba16744b455f73fa68cae09d7 /include/linux/mlx5
parentd0f332dc96894d4652a1d10e9de35ded267901a7 (diff)
downloadlinux-8e11a68e2e8abf6510508b75b49ec5953ca262b6.tar.xz
net/mlx5: Add adjphase function to support hardware-only offset control
The adjtime function supports using hardware to set the clock offset when the delta was supported by the hardware. When the delta is not supported by the hardware, the driver handles adjusting the clock. The newly-introduced adjphase function is similar to the adjtime function, except it guarantees that a provided clock offset will be used directly by the hardware to adjust the PTP clock. When the range is not acceptable by the hardware, an error is returned. 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 'include/linux/mlx5')
0 files changed, 0 insertions, 0 deletions