[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170828123331.sv52oawme6hfpdy2@localhost>
Date: Mon, 28 Aug 2017 05:33:31 -0700
From: Richard Cochran <richardcochran@...il.com>
To: Sørensen, Stefan
<Stefan.Sorensen@...ctralink.com>
Cc: "netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: PTP: PHY timestamping when MAC is PTP capable
On Mon, Aug 28, 2017 at 08:39:44AM +0000, Sørensen, Stefan wrote:
> I have run into a problem with packet timestamping on a platform (cpsw
> + dp83640) where both the PHY and the MAC is PTP capable and I need
> the PHY to perform the timestamping. In the current code,
> SIOCGHWTSTAMP is passed to the MAC driver and only if it does not
> support PTP itself will it pass it on to the PHY driver.
>
> I see two ways to fix this:
Just disable CONFIG_CPTS and patch cpsw.c to pass SIOC[GS]HWTSTAMP.
I don't see any reasonable way to make this sort of thing configurable
at run time.
Thanks,
Richard
Powered by blists - more mailing lists