Hi Richard, It's a new hardware platform and newer 3.x Linux kernel, however the integration approach is same.
I changed to rely on software timestamps instead and synchronization works fine. When our FPGA team will make our NIC 1588 aware and implement a PHC, I will use hardware timestamping. Regards, Daniel -----Original Message----- From: Richard Cochran [mailto:richardcoch...@gmail.com] Sent: Friday, August 05, 2016 3:41 AM To: Daniel Le <daniel...@exfo.com> Cc: linuxptp-users@lists.sourceforge.net Subject: Re: [Linuxptp-users] Failed synchronization On Thu, Aug 04, 2016 at 10:13:35PM +0000, Daniel Le wrote: > You didn't tell us what hardware your are using: platform, NIC, driver? > [DL] It's an embedded system with proprietary FPGA based NIC and driver. Sigh. This is the same system you were asking us about back in April 2015. If you have HW time stamping, then you should implement a proper PHC. The fact that you are using SW time stamping in the application is a sure sign that you have it all wrong. > After stepping the clock, the offset remains the same. Your system clock or > the MAC driver is somehow broken. > [DL] Is tsproc_update_offset function a good place where to check t1, t2, t3, > t4 values > in order to see which timestamp(s) may cause the offset to remain > the same? Try looking in your driver. > [DL] In this function, are master timestamps (t1, t4) TAI and slave > timestamps (t2, t3) UTC? Just how are we supposed to know? You have some kind of weird custom system in which you abuse the whole PHC subsystem. We can't help you with that. Sorry, Richard ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. http://sdm.link/zohodev2dev _______________________________________________ Linuxptp-users mailing list Linuxptp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-users