[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CA+sq2CcS3Purx+E0duOMHpMt2EwD=d3ViryvwiH1RjX89M2LLw@mail.gmail.com>
Date: Mon, 13 Jul 2020 21:20:06 +0530
From: Sunil Kovvuri <sunil.kovvuri@...il.com>
To: Richard Cochran <richardcochran@...il.com>
Cc: sundeep subbaraya <sundeep.lkml@...il.com>,
David Miller <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Linux Netdev List <netdev@...r.kernel.org>,
Sunil Goutham <sgoutham@...vell.com>,
Subbaraya Sundeep <sbhatta@...vell.com>,
Aleksey Makarov <amakarov@...vell.com>
Subject: Re: [PATCH v3 net-next 3/3] octeontx2-pf: Add support for PTP clock
On Mon, Jul 13, 2020 at 6:57 PM Richard Cochran
<richardcochran@...il.com> wrote:
>
> On Mon, Jul 13, 2020 at 11:40:34AM +0530, sundeep subbaraya wrote:
> > > > +static int otx2_ioctl(struct net_device *netdev, struct ifreq *req, int cmd)
> > > > +{
> > > > + struct otx2_nic *pfvf = netdev_priv(netdev);
> > > > + struct hwtstamp_config *cfg = &pfvf->tstamp;
> > > > +
> > >
> > > Need to test phy_has_hwtstamp() here and pass ioctl to PHY if true.
> > >
> > For this platform PHY is taken care of by firmware hence it is not
> > possible.
>
> This has nothing to do with the FW. The HW design might include a PHY
> or MII time stamping device.
In our HW, ingress timestamping is done by CGX device which is a MAC.
Wrt PHY, the serdes, PHY etc are managed by firmware. So no 'phydev'
available in kernel.
Thanks,
Sunil.
Powered by blists - more mailing lists