On Sat, Dec 12, 2015 at 03:58:31PM -0500, Brian Walsh wrote:
> I was not sure if having it reset during ifup makes more sense. Does the
> clock go away when the interface is down? I can't test that right now.
> It is my primary interface so it is always up on my device.

The /dev/ptpX persists from ptp_clock_register() until
ptp_clock_unregister().  Ideally, the clock should appear when the
device is probed and stay running until either the HW is unplugged or
the driver gets unloaded.

There are some HW designs out there that cause the clock to go away or
become unusable when the link state changes, but I think the 82574
does not have those kinds of issues.
 
> Makes sense. Stop reseting the clock and it will not reset.

Yup.

Thanks,
Richard


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

Reply via email to