> -----Original Message----- > From: Richard Cochran [mailto:richardcoch...@gmail.com] > Sent: Thursday, March 08, 2018 5:24 PM > To: Ahmad Fatoum <ah...@a3f.at> > Cc: linuxptp-users@lists.sourceforge.net; linuxptp-de...@lists.sourceforge.net > Subject: Re: [Linuxptp-devel] [Linuxptp-users] Planning release 1.9 > > On Thu, Mar 08, 2018 at 10:42:14PM +0100, Ahmad Fatoum wrote: > > In a DSA setup, transmitted packets may be timestamped more than once > causing ptp4l to fail, > > as it expects only a single Tx timestamp to be looped back to the socket's > > error > queue. > > Right, so this is a limitation of the kernel and not an issue with > linuxptp. The kernel does not support MAC and PHY (or switch!) time > stamps all on the same interface. If your PHC DSA switch is connected to > a MAC that also can be a PHC, then you must disable the MAC PHC > function at compile time. (In some cases, this is a Kconfig option, > otherwise you'll have to patch your MAC driver.) > > Thanks, > Richard
Would it be worth adding some mechanism to the ptp clock interface to standardize a way of "run time" disabling the clock? Maybe you don't even need such a thing by simply not requesting the timestamps for the given device? Or does it send the hwtstamp ioctl to every device? Thanks, Jake > > ------------------------------------------------------------------------------ > 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-de...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/linuxptp-devel ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Linuxptp-users mailing list Linuxptp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-users