Hello,

I did some testing by running two PTP instances in LEADER mode on same
Processor (running Yacto flavour) simultaneously. Having the same domain
number .

Used two commands on two terminls:

TERMINAL:~# ptp4l -i eth1 -m -f
/home/root/ptp-manager/source/linuxptp_config_0.conf
TERMINAL:~# ptp4l -i eth2 -m -f
/home/root/ptp-manager/source/linuxptp_config_1.conf

PTP4L running @ eth1 is PTP1 and eth2 is PTP2.

PTP1 priority1 set to 125 and PTP2 priority1 set to 127

I was expecting PTP2 to go to PASSIVE state. However, It doesn't seem to.
Both ports show ACTIVE and I see sync messages are getting generated by
both instances. This problem is seen only when both PTP1 and PTP2 are run
on the same host.

After enabling some debug logs, I found that (in bmc.c) c*lock_best
*and *port_best
*structures are null.
Apparently, this is the reason for both showing active state, could
someone please confirm?
If so, is there a fix available for this?

Thank you.

Regards,
Guru
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to