RE: [PATCH net-next v7 2/2] qede: Add driver support for PTP

2017-02-16 Thread Mintz, Yuval
> > > +void qede_ptp_tx_ts(struct qede_dev *edev, struct sk_buff *skb) { > > > + struct qede_ptp *ptp; > > > + > > > + ptp = edev->ptp; > > > + if (!ptp) > > > + return; > > > + > > > + if (unlikely(!(edev->flags & QEDE_TX_TIMESTAMPING_EN))) { > > > + DP_NOTICE(edev, > > > +

RE: [PATCH net-next v7 2/2] qede: Add driver support for PTP

2017-02-16 Thread Mintz, Yuval
> > +void qede_ptp_tx_ts(struct qede_dev *edev, struct sk_buff *skb) { > > + struct qede_ptp *ptp; > > + > > + ptp = edev->ptp; > > + if (!ptp) > > + return; > > + > > + if (unlikely(!(edev->flags & QEDE_TX_TIMESTAMPING_EN))) { > > + DP_NOTICE(edev, > > +

Re: [PATCH net-next v7 2/2] qede: Add driver support for PTP

2017-02-16 Thread Eric Dumazet
On Wed, 2017-02-15 at 10:24 +0200, Yuval Mintz wrote: > From: Sudarsana Reddy Kalluru > > This patch adds the driver support for, > - Registering the ptp clock functionality with the OS. > - Timestamping the Rx/Tx PTP packets. > - Ethtool callbacks related to