By default, coarse TX timestamps are supplied for all outgoing packets. The accuracy of these timestamps is affected when the NIC is put under load (when other traffic is being transmitted).
In order to obtain high-quality TX timestamps for select packets (e.g. PTP packets), the following configuration should be applied:
ethtool --set-priv-flags <ifs-name> tx_port_ts on
For example:
ethtool --set-priv-flags ens1f0 tx_port_ts on
To disable this feature, enter:
ethtool --set-priv-flags <ifs-name> tx_port_ts off
Warning
This configuration is not persistent.
Minimum firmware version: xx.29.1016
Minimum MLNX_OFED version: 5.4-1.0.3.0