1.2.1. Understanding the Different PTP Clocks
1.2.2. Precision Time Protocol (PTP) Synchronization Process
1.2.3. Functional Flow For A 1588 Ordinary Clock Master/Slave Mode System
1.2.4. Functional Flow For A 1588 Transparent Clock Master/Slave Mode System
1.2.5. Functional Flow for A 1588 Boundary Clock Mode System
1.2.6. Timestamp Packet Functional Flow in Linux Driver
1.2.6. Timestamp Packet Functional Flow in Linux Driver
This section describes the timestamp packet flow between Linux driver and the system hardware.
The reference design uses TX Ingress Timestamp FIFO and RX Ingress Timestamp FIFO to store the timestamp with fingerprint. The Linux PTP driver will access these FIFO to obtain the timestamp information for PTP software processing. A FIFO status read can be omitted if the FIFO read delay is determined. CPU can read the RX FIFO without any delay while for TX FIFO, a delay is necessary and most often depends on the sum of MTU delay of a scheduled packet, DMA delays and the PTP packet transmit delays. In general, 3*MTU delay is the common value for TX FIFO read delay.
The following figure shows the timestamp packet flow between Linux driver and the system hardware for receive path.
Figure 9. Timestamp Flow Between Linux Driver and System Hardware for Receive Path
The following figure shows the timestamp packet flow between Linux driver and the system hardware for transmit path.
Figure 10. Timestamp Flow Between Linux Driver and System Hardware for Transmit Path