diff options
author | Jacob Keller <jacob.e.keller@intel.com> | 2022-11-09 15:09:39 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-11-11 10:58:39 +0000 |
commit | e3f18e9d353aa8bd9e4db10acab21df380e212f5 (patch) | |
tree | 5b60132139cd464dac93517e55996741c8e08327 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 319d77e9d059d4e7b0aba923578faed038d9038c (diff) |
ptp: tg3: convert .adjfreq to .adjfine
The tg3 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
diff_by_scaled_ppm helper function to calculate the difference and
direction of the adjustment.
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Cc: Siva Reddy Kallam <siva.kallam@broadcom.com>
Cc: Prashant Sreedharan <prashant@broadcom.com>
Cc: Michael Chan <mchan@broadcom.com>
Cc: Richard Cochran <richardcochran@gmail.com>
Reviewed-by: Pavan Chebbi <pavan.chebbi@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions