diff options
author | 2022-11-09 15:09:42 -0800 | |
---|---|---|
committer | 2022-11-11 10:58:39 +0000 | |
commit | a45392071ceeebe85622705a1d7500ed434785a7 (patch) | |
tree | 620e0fa65cb20b125ebf7df05454bb34e93403e3 /lib/test_bpf.c | |
parent | ptp: stmac: convert .adjfreq to .adjfine (diff) | |
download | wireguard-linux-a45392071ceeebe85622705a1d7500ed434785a7.tar.xz wireguard-linux-a45392071ceeebe85622705a1d7500ed434785a7.zip |
ptp: cpts: convert .adjfreq to .adjfine
The cpts implementation of .adjfreq is implemented in terms of a
straight forward "base * ppb / 1 billion" calculation.
Convert this to the newer .adjfine, using the recently added
adjust_by_scaled_ppm helper function.
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/test_bpf.c')
0 files changed, 0 insertions, 0 deletions