Resurrecting this old thread. On Thu, Oct 31, 2013 at 07:54:56AM +0100, Richard Cochran wrote: > On Wed, Oct 30, 2013 at 07:46:58PM -0200, Flavio Leitner wrote: > > > What about the transport? > > I suggest offering the following bits in the ethtool rx|tx_reserved > fields: > > TS_SYNC (1<<0) /* silly, PTP is not possible without this */ > TS_DELAY_REQ (1<<1) > TS_PDELAY_REQ (1<<2) > TS_PDELAY_RESP (1<<3) > > TS_ON_LAYER2 (1<<4) > TS_ON_IPV4 (1<<5) > TS_ON_IPV6 (1<<6)
Hi Richard, Jacob, I am back thinking on this and maybe I misunderstood you. In the sfc case that doesn't support TS over IPv6, with your suggestion, it would be a matter of not providing that TS_ON_IPv6 bit. That's fine. However, pch_gbe supports E2E over L2, IPv4 and IPv6 but P2P only over L2 and with an unique multicast L2 address configuration if I am not mistaken. With those defined bits, there is no possible way to tell so. So I thought in splitting the bits in sections according with the transport, i.e.: [<transport x>, <ipv6 bits>, <ipv4 bits>, <ethernet bits>] It seems we have 6 transports defined so far. Regarding to the message bits supported, I am not sure if we have to go that deeper. Or otherwise we will have to list follow up messages too and then there will be too many bits :-) But since you mentioned them, maybe you know a case that I don't. Perhaps the best would be to define E2E and P2P bits only and enable them if they are specs compliant. TS_E2E (1<<0) /* can do E2E */ TS_P2P (1<<1) /* can do P2P */ TS_RESERVED1 (1<<2) TS_RESERVED2 (1<<3) So, for instance, if the card supports P2P over IPv6, then enable TS_P2P bit into the ipv6 transport section. we keep space for one additional transport and two bits for future features (32 bits). How does that sound to you guys? Thanks fbl ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ Linuxptp-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linuxptp-devel
