hello team,

I found that port_nrate_calculate() save the first ingress1 before slave
clock jumping, if the offset of master and slave is too large, this may
results in an extremly small nrate_ratio value, and cause the nagative
delay issue.
so, is this a problem please?
what about port_nrate_calculate() sampling the first ingress1 until servo
entering lock state?
like this:
1028   if (tmv_is_zero(n->ingress1) && *clock_servo_state(p->clock) ==
SERVO_LOCKED*) {
1029     n->ingress1 = ingress;
1030     n->origin1 = origin;
1031     return;
1032   }

 734 ptp4l[61.809]: negative delay   -2267723
 735 ptp4l[61.809]: delay = (t2 - t3) * rr + (t4 - t1)
 736 ptp4l[61.809]: t2 - t3 =         +0
 737 ptp4l[61.809]: t4 - t1 =   -4535446
* 738 ptp4l[61.809]: rr = 0.000000003*

*Thanks*
*Merlin*
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to