Re: [PATCH net-next] net: cpsw: Don't handle SIOC[GS]HWTSTAMP when CPTS is disabled
From: Richard Cochran <richardcochran@gmail.com>
Date: 2017-09-06 08:59:06
Also in:
linux-omap
From: Richard Cochran <richardcochran@gmail.com>
Date: 2017-09-06 08:59:06
Also in:
linux-omap
On Tue, Sep 05, 2017 at 04:25:22PM -0500, Grygorii Strashko wrote:
I'd like to clarify one thing here - what is the preferable time-stamping device: PHY over MAC, or MAC over PHY? my understanding it's PHY and ethtool_get_ts_info() seems already implemented this way.
We simply do not have a way to support MAC and PHY time stamping and PTP Hardware Clocks at the same time. Sure, it must be somehow possible, but that would involve extending SO_TIMESTAMPING yet again, and this is not worth the effort, IMHO. There is exactly one PHY on the market that supports time stamping, and yes, people who design their boards with it generally want to use it. They have to enable CONFIG_NETWORK_PHY_TIMESTAMPING and disable MAC time stamping. Thanks, Richard