net/mlx5: Add firmware support for MTUTC scaled_ppm frequency adjustments
authorRahul Rameshbabu <rrameshbabu@nvidia.com>
Tue, 22 Nov 2022 01:16:38 +0000 (17:16 -0800)
committerSaeed Mahameed <saeedm@nvidia.com>
Sat, 4 Feb 2023 10:07:03 +0000 (02:07 -0800)
commitb63636b6c170aaf0becd67d14ba7c538d1f8d4f5
tree6227003321834cd29c6f8877f30e447ed6c89957
parent04937a0f68911a62dfd0a84bb383dcbf0a19d8c8
net/mlx5: Add firmware support for MTUTC scaled_ppm frequency adjustments

When device is capable of handling scaled ppm values for adjusting
frequency, conversion to ppb will not be done by the driver. Instead, the
scaled ppm value will be passed directly to the device for the frequency
adjustment operation.

Signed-off-by: Rahul Rameshbabu <rrameshbabu@nvidia.com>
Reviewed-by: Gal Pressman <gal@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c
include/linux/mlx5/mlx5_ifc.h