On Sun, Oct 16, 2016 at 12:55:51PM +0200, Richard Cochran wrote:
> Poll for link up/down events.  When a link goes down, the port becomes
> faulty until the link goes up again.  We keep the fault timer from the
> existing fault detection, but a downed link prevents clear the fault.

I'm testing this, but I'm not sure if it's working correctly. When I
take the interface down I see a "link up" message from ptp4l. When I
bring it up, there is another "link up" message.

ptp4l[2675017.937]: master offset          3 s2 freq  -28502 path delay        
-8
ptp4l[2675018.937]: master offset         -3 s2 freq  -28507 path delay        
-5
ptp4l[2675019.937]: master offset         -7 s2 freq  -28512 path delay        
-5
ptp4l[2675020.895]: port 1: link up
ptp4l[2675026.440]: port 1: SLAVE to MASTER on ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES
ptp4l[2675026.441]: selected best master clock XXX
ptp4l[2675026.441]: assuming the grand master role
ptp4l[2675457.762]: port 1: link up
ptp4l[2675460.966]: selected best master clock YYY

-- 
Miroslav Lichvar

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to