Re: [PATCH net-next 8/8] net: mscc: PTP offloading support

2019-01-18 Thread Antoine Tenart
Hi Richard, On Thu, Jan 17, 2019 at 06:23:43PM -0800, Richard Cochran wrote: > On Thu, Jan 17, 2019 at 11:02:12AM +0100, Antoine Tenart wrote: > > This patch adds support for offloading PTP timestamping to the Ocelot > > switch for both 1-step and 2-step modes. > > For PTP Hardware Clock drivers,

Re: [PATCH net-next 8/8] net: mscc: PTP offloading support

2019-01-17 Thread Richard Cochran
On Thu, Jan 17, 2019 at 11:02:12AM +0100, Antoine Tenart wrote: > This patch adds support for offloading PTP timestamping to the Ocelot > switch for both 1-step and 2-step modes. For PTP Hardware Clock drivers, please add the PTP maintainer onto CC. > +int ocelot_ptp_gettime64(struct ptp_clock_in

[PATCH net-next 8/8] net: mscc: PTP offloading support

2019-01-17 Thread Antoine Tenart
This patch adds support for offloading PTP timestamping to the Ocelot switch for both 1-step and 2-step modes. Signed-off-by: Antoine Tenart --- drivers/net/ethernet/mscc/ocelot.c | 509 ++- drivers/net/ethernet/mscc/ocelot.h | 36 ++ drivers/net/ethernet/mscc/oc