aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/core/dev_ioctl.c
diff options
context:
space:
mode:
authorRahul Rameshbabu <rrameshbabu@nvidia.com>2023-08-24 20:29:50 -0700
committerSaeed Mahameed <saeedm@nvidia.com>2023-11-15 11:34:30 -0800
commit78c1b26754d9df062c3c8e08f5d6427967e3ba4b (patch)
tree66ecb794912f5432dc38afc332eed8f6f48a9028 /net/core/dev_ioctl.c
parentnet/mlx5: Initialize clock->ptp_info inside mlx5_init_timer_clock (diff)
downloadwireguard-linux-78c1b26754d9df062c3c8e08f5d6427967e3ba4b.tar.xz
wireguard-linux-78c1b26754d9df062c3c8e08f5d6427967e3ba4b.zip
net/mlx5: Convert scaled ppm values outside the s32 range for PHC frequency adjustments
Represent scaled ppm as ppb to the device when the value in scaled ppm is not representable as a 32-bit signed integer. mlx5 devices only support a 32-bit field for the frequency adjustment value in units of either scaled ppm or ppb. Since mlx5 devices only support a 32-bit field for the frequency adjustment value independent of unit used, limit the maximum frequency adjustment to S32_MAX ppb. Signed-off-by: Rahul Rameshbabu <rrameshbabu@nvidia.com> Reviewed-by: Tariq Toukan <tariqt@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'net/core/dev_ioctl.c')
0 files changed, 0 insertions, 0 deletions