On Mon, Jul 13, 2020 at 6:57 PM Richard Cochran
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);
> > > >
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;
> > > +
> >
> > Ne
Hi Richard,
On Thu, Jul 9, 2020 at 9:32 PM Richard Cochran wrote:
>
> On Thu, Jul 09, 2020 at 06:57:01PM +0530, sundeep.l...@gmail.com wrote:
>
> > @@ -1736,6 +1751,143 @@ static void otx2_reset_task(struct work_struct
> > *work)
> > netif_trans_update(pf->netdev);
> > }
> >
> > +static i
On Thu, Jul 09, 2020 at 06:57:01PM +0530, sundeep.l...@gmail.com wrote:
> @@ -1736,6 +1751,143 @@ static void otx2_reset_task(struct work_struct *work)
> netif_trans_update(pf->netdev);
> }
>
> +static int otx2_config_hw_rx_tstamp(struct otx2_nic *pfvf, bool enable)
> +{
> + struct ms
From: Aleksey Makarov
This patch adds PTP clock and uses it in Octeontx2
network device. PTP clock uses mailbox calls to
access the hardware counter on the RVU side.
Co-developed-by: Subbaraya Sundeep
Signed-off-by: Subbaraya Sundeep
Signed-off-by: Aleksey Makarov
Signed-off-by: Sunil Goutham