Welcome to the discussion Christian! It is quite an interesting problem you’re trying to solve. Have you already tried to implement that additional interface you mentioned?
/Volodymyr > On 2 Dec 2020, at 10:20, Christian Eggers <cegg...@arri.de> wrote: > > I would like to join the discussion as I am also working with a 1-step TC > hardware. > > The Microchip KSZ9477/9563/9567 performs forwarding of SYNC messages > in hardware by default (if not explicitly disabled, e.g. for BC). For this > type of hardware, ptp4l should not forward Sync messages at all (when in TC > mode). > > But in order to use the hardware TC mode of these chips, the hardware needs to > know the peer delays which have been measured by ptp4l. So an additional > interface to the kernel for writing the current peer delays would be required > for making use of this. > > On Tuesday, 1 December 2020, 20:23:16 CET, Richard Cochran wrote: >> On Tue, Dec 01, 2020 at 05:14:38PM +0100, Volodymyr Bendiuga wrote: >>> From: Volodymyr Bendiuga <volodymyr.bendi...@westermo.se> >>> >> So what HW actually does this? I just looked... >> >> Only one driver implements HWTSTAMP_TX_ONESTEP_P2P, namely >> drivers/ptp/ptp_ines.c. It have this HW for testing. That one >> updates the originTimestamp of Sync messages, IIRC. > > The Microchip KS9477/9563/9567 also implement HWTSTAMP_TX_ONESTEP_P2P: > https://patchwork.ozlabs.org/project/netdev/list/?series=217835 > > regards > Christian > > > > ________________________________ > [http://assets.arri.com/media/sign/2020-04-03-E-mail-signature-Stellar2_V1.jpg] > <https://microsites.arri.com/stellar/> > > Get all the latest information from www.arri.com<https://www.arri.com/>, > Facebook<https://www.facebook.com/TeamARRI>, > Twitter<https://twitter.com/ARRIChannel>, > Instagram<https://instagram.com/arri> and > YouTube<https://www.youtube.com/user/ARRIChannel>. > > Arnold & Richter Cine Technik GmbH & Co. Betriebs KG > Sitz: München - Registergericht: Amtsgericht München - Handelsregisternummer: > HRA 57918 > Persönlich haftender Gesellschafter: Arnold & Richter Cine Technik GmbH > Sitz: München - Registergericht: Amtsgericht München - Handelsregisternummer: > HRB 54477 > Geschäftsführer: Dr. Michael Neuhäuser; Stephan Schenk; Walter Trauninger; > Markus Zeiler _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel