PTP test

Include check the Ethernet interface PTP support and PTP test

Check the ethernet interface to support PTP

Before PTP test, please check if you already

  • Make the PTP-enabled driver

  • Check the driver supporting PTP feature

Once you build the PTP-enabled driver, you could check the ethernet interface for PTP support

ethtool -T (Ethernet interface)

There must be hardware-transmit/receive, hardware-raw-clock to support PTP feature

Use Linuxptp to test the PTP feature

After a few while, you would get the steady state

⇒ The Master-Slave offset would be +/- 2~15 (ns)

Last updated