Messages in this thread | | | Date | Tue, 14 Jul 2020 07:01:34 -0700 | From | Richard Cochran <> | Subject | Re: [PATCH v2 net] net: fec: fix hardware time stamping by external devices |
| |
On Sat, Jul 11, 2020 at 03:08:42PM +0300, Sergey Organov wrote: > Fix support for external PTP-aware devices such as DSA or PTP PHY: > > Make sure we never time stamp tx packets when hardware time stamping > is disabled. > > Check for PTP PHY being in use and then pass ioctls related to time > stamping of Ethernet packets to the PTP PHY rather than handle them > ourselves. In addition, disable our own hardware time stamping in this > case. > > Fixes: 6605b73 ("FEC: Add time stamping code and a PTP hardware clock") > Signed-off-by: Sergey Organov <sorganov@gmail.com> > --- > > v2: > - Extracted from larger patch series > - Description/comments updated according to discussions > - Added Fixes: tag
Acked-by: Richard Cochran <richardcochran@gmail.com>
| |