Re: [PATCH net] net: dsa: sja1105: fix PTP timestamping with large tc-taprio cycles

2020-06-15 Thread David Miller
From: Vladimir Oltean Date: Sun, 14 Jun 2020 23:54:09 +0300 > From: Vladimir Oltean > > It isn't actually described clearly at all in UM10944.pdf, but on TX of > a management frame (such as PTP), this needs to happen: > > - The destination MAC address (i.e. 01-80-c2-00-00-0e), along with the >

Re: [PATCH net] net: dsa: sja1105: fix PTP timestamping with large tc-taprio cycles

2020-06-15 Thread Richard Cochran
On Sun, Jun 14, 2020 at 11:54:09PM +0300, Vladimir Oltean wrote: > So fix this case of premature optimization by simply reordering the > sja1105_ptpegr_ts_poll and the sja1105_ptpclkval_read function calls. It > turns out that in practice, the 135 ms hard deadline for PTP timestamp > wraparound is

[PATCH net] net: dsa: sja1105: fix PTP timestamping with large tc-taprio cycles

2020-06-14 Thread Vladimir Oltean
From: Vladimir Oltean It isn't actually described clearly at all in UM10944.pdf, but on TX of a management frame (such as PTP), this needs to happen: - The destination MAC address (i.e. 01-80-c2-00-00-0e), along with the desired destination port, need to be installed in one of the 4 manageme