Hi Richard,
Hi All,
(I'm investigating the SDE behavior...)
In my setup I have a couple of MasterOnly ports and we tries to kill
(and recover) the SLAVE port's link in order to measure the
performance.
I noticed that the Announce messages received on MasterOnly ports
generate a SDE condition in bc_event(). I think that we can return
EV_NONE when the port is a master_only (or we can skip the
process_annonce() at all). Is it correct?
bc_event() should look like:
case ANNOUNCE:
if (process_announce(p, msg)) {
event = p->master_only ? EV_NONE : EV_STATE_DECISION_EVENT;
}
break;
(or...
case ANNOUNCE:
if (!p->master_only && process_announce(p, msg))
event = EV_STATE_DECISION_EVENT;
break;
)
Thanks for your opinion,
ciao
luigi
--
Luigi 'Comio' Mantellini
My Professional Profile
"UNIX is very simple, it just needs a genius to understand its
simplicity." [cit.]
_______________________________________________
Linuxptp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel