Thread (1 message) 1 message, 1 author, 2020-07-14

Re: [PATCH v2 net] net: fec: fix hardware time stamping by external devices

From: Sergey Organov <hidden>
Date: 2020-07-14 14:27:22
Also in: lkml

Richard Cochran [off-list ref] writes:
On Sat, Jul 11, 2020 at 03:08:42PM +0300, Sergey Organov wrote:
quoted
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 <redacted>
---

v2:
  - Extracted from larger patch series
  - Description/comments updated according to discussions
  - Added Fixes: tag
Acked-by: Richard Cochran <richardcochran@gmail.com>
Thanks for reviewing!

-- Sergey
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help