Hardware Timestamps

Enhanced PTP User Guide (UG1602)

Document ID
UG1602
Release Date
2022-10-18
Revision
1.0 English

sfptpd can be used to enable hardware timestamping of all packets (to the Linux kernel) on specified interfaces. Interfaces are identified as a list using the following configuration file option:

timestamping_interfaces  [<name | mac-address | *>]
  • To timestamp all received packets on all interfaces:
    timestamping_interfaces *
  • To timestamp all received packets on eth2 and eth3:
    timestamping_interfaces eth2 eth3

If hardware timestamping is required only for PTP packets, there is no need to enable this parameter.

Hardware Timestamps Enable/Disable

To enable/disable hardware timestamping of all received network packets after sfptpd exits, use the following configuration file option:

timestamping_disable_on_exit [<off | on>]

Hardware Timestamps (Kernel/Onload)

Applications can recover hardware timestamps for all received packets using the SO_TIMESTAMPING socket option. For more details of hardware packet timestamps when using the kernel driver see the Solarflare Server Adapter User Guide (SF-103837-CD). For more details of using hardware packet timestamps when using OpenOnload see the Onload User Guide (UG1586).