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 hav
Hi
On 08/31/2017 02:48 AM, Richard Cochran wrote:
> On Wed, Aug 30, 2017 at 02:47:45PM -0700, David Miller wrote:
>> It should not be required to disable a Kconfig option just to get PHY
>> timestamping to work properly.
>
> Well, if the MAC driver handles the ioctl and enables time stamping,
> t
On Wed, Aug 30, 2017 at 02:47:45PM -0700, David Miller wrote:
> It should not be required to disable a Kconfig option just to get PHY
> timestamping to work properly.
Well, if the MAC driver handles the ioctl and enables time stamping,
then the PHY driver's time stamping remains disabled. We don'
From: Stefan Sørensen
Date: Wed, 30 Aug 2017 08:50:55 +0200
> There is no reason to handle SIOC[GS]HWTSTAMP and return -EOPNOTSUPP when
> CPTS is disabled, so just pass them on to the phy. This will allow PTP
> timestamping on a capable phy by disabling CPTS.
>
> Signed-off-by: Stefan Sørensen
There is no reason to handle SIOC[GS]HWTSTAMP and return -EOPNOTSUPP when
CPTS is disabled, so just pass them on to the phy. This will allow PTP
timestamping on a capable phy by disabling CPTS.
Signed-off-by: Stefan Sørensen
---
drivers/net/ethernet/ti/cpsw.c | 12 ++--
1 file changed, 2