On Tue, Dec 07, 2021 at 06:30:32AM -0500, Dan Geer wrote: > So, I'm into the phyter device driver... What's the next step?
The phyter generates special frames that carry the time stamps. These frames are delivered to the host. Because the frames appear to be PTP frames, the networking stack will deliver them to the phy driver via skb_defer_rx_timestamp() So the flow is: 1. host sends a PTP event message 2. phyter time stamps it and generates a frame back to the host 3. frame is delivered to the phy driver via mii_ts->rxtstamp() 4. driver decodes frame and delivers cmsg to user space The default Tx timestamp timeout is 1 ms. Maybe your NW stack is just a bit too slow. Try increasing the timeout to 10 ms. Another thing to consider about the phyter: It generates these special frames, but only when there is some bandwidth left to send them. It will not preempt normal NW traffic. That means you cannot use the 100 Mbit completely. HTH, Richard _______________________________________________ Linuxptp-users mailing list Linuxptp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-users