diff options
author | Rahul Rameshbabu <rrameshbabu@nvidia.com> | 2023-06-12 14:14:55 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-06-20 09:02:33 +0100 |
commit | 3a9a9a6139286584d1199f555fa4f96f592a3217 (patch) | |
tree | 26fa389c16473c64c7b448bcc28da02a938809a9 /drivers/ptp | |
parent | 048f6d998eacabed143d6524395573f8868a4f34 (diff) |
testptp: Add support for testing ptp_clock_info .adjphase callback
Invoke clock_adjtime syscall with tx.modes set with ADJ_OFFSET when testptp
is invoked with a phase adjustment offset value. Support seconds and
nanoseconds for the offset value.
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Richard Cochran <richardcochran@gmail.com>
Cc: Maciek Machnikowski <maciek@machnikowski.net>
Signed-off-by: Rahul Rameshbabu <rrameshbabu@nvidia.com>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ptp')
0 files changed, 0 insertions, 0 deletions