[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <DB6PR0401MB2536A4E804E84D417AD1398CF88E0@DB6PR0401MB2536.eurprd04.prod.outlook.com>
Date: Thu, 26 Apr 2018 10:22:49 +0000
From: "Y.b. Lu" <yangbo.lu@....com>
To: Richard Cochran <richardcochran@...il.com>
CC: "devel@...verdev.osuosl.org" <devel@...verdev.osuosl.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"dan.carpenter@...cle.com" <dan.carpenter@...cle.com>,
Ruxandra Ioana Ciocoi Radulescu <ruxandra.radulescu@....com>
Subject: RE: [PATCH] staging: fsl-dpaa2/eth: Add support for hardware
timestamping
Hi Richard,
> -----Original Message-----
> From: Richard Cochran [mailto:richardcochran@...il.com]
> Sent: Thursday, April 26, 2018 10:33 AM
> To: Y.b. Lu <yangbo.lu@....com>
> Cc: devel@...verdev.osuosl.org; linux-kernel@...r.kernel.org; Greg
> Kroah-Hartman <gregkh@...uxfoundation.org>; dan.carpenter@...cle.com;
> Ruxandra Ioana Ciocoi Radulescu <ruxandra.radulescu@....com>
> Subject: Re: [PATCH] staging: fsl-dpaa2/eth: Add support for hardware
> timestamping
>
> On Wed, Apr 25, 2018 at 05:17:49PM +0800, Yangbo Lu wrote:
>
> > +/* PTP nominal frequency 1GHz */
> > +#define DPAA2_PTP_NOMINAL_FREQ_PERIOD_NS 1
>
> Nit: Frequency is the inverse of the period. It can be one or the other, not
> both.
>
> Why not call it simply DPAA2_PTP_CLK_PERIOD_NS?
[Y.b. Lu] Thanks. Let me use DPAA2_PTP_CLK_PERIOD_NS in next version.
>
> You haven't implemented the ethtool_get_ts_info() method, but you need to
> do so. Show us how the user can related these MAC time stamps to the PHC
> device in your other patch series.
[Y.b. Lu] I will add patch for ethtool_get_ts_info in next version. Thanks!
But I'm not sure whether ethtool should show hw timestamping always ignoring phc enabled or not.
Actually the hw timestamping is supported always since ptp clock had been initialized in MC firmware.
Let me just send out the patch for reviewing.
>
> Thanks,
> Richard
Powered by blists - more mailing lists