diff options
author | Andrii Staikov <andrii.staikov@intel.com> | 2023-03-08 13:36:51 +0300 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2023-03-21 21:37:16 +0300 |
commit | d71980d47e270a7dffef4f3541d550cbde686d9a (patch) | |
tree | f3ab910614638e554e6891a0a7d8d2536e668d45 /tools/perf/scripts/python/syscall-counts.py | |
parent | c8384d4a51e7cb0e6587f3143f29099f202c5de1 (diff) | |
download | linux-d71980d47e270a7dffef4f3541d550cbde686d9a.tar.xz |
igb: refactor igb_ptp_adjfine_82580 to use diff_by_scaled_ppm
Driver's .adjfine interface functions use adjust_by_scaled_ppm and
diff_by_scaled_ppm introduced in commit 1060707e3809
("ptp: introduce helpers to adjust by scaled parts per million")
to calculate the required adjustment in a concise manner,
but not igb_ptp_adjfine_82580.
Fix it by introducing IGB_82580_BASE_PERIOD and changing function logic
to use diff_by_scaled_ppm.
Signed-off-by: Andrii Staikov <andrii.staikov@intel.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions