In the upstream linuxptp tree, the nullf servo has no way to transition to the SERVO_LOCKED state except when the offset is zero. Transitioning to the SERVO_LOCKED state is important for a servo that makes no frequency adjustments because SERVO_LOCKED_STABLE is the only state that invokes write_phase_mode, a performant way of adjusting the clock offset. The goal of this change is to make it simple to configure entering the SERVO_LOCKED_STABLE state by setting the offset_threshold when using the nullf servo. In cases where the offset_threshold is not set but the step_threshold is, the SERVO_LOCKED state is entered when the offset is within the step_threshold.
Signed-off-by: Rahul Rameshbabu <rrameshb...@nvidia.com> Rahul Rameshbabu (2): Improve efficiency of nullf servo synchronization Fix SERVO_JUMP docstring comment nullf.c | 9 ++++++--- phc2sys.8 | 12 ++++++------ ptp4l.8 | 14 +++++++------- servo.h | 2 +- ts2phc.8 | 8 ++++---- 5 files changed, 24 insertions(+), 21 deletions(-) -- 2.36.2 _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel