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