Hi

I use linuxptp with the following settings:
master:
[global]
dataset_comparison G.8275.x
masterOnly 1
logAnnounceInterval -3
logSyncInterval -4
logMinDelayReqInterval -4
tx_timestamp_timeout 5
clockClass 6
clockAccuracy 0x21
offsetScaledLogVariance 0x4e5d
domainNumber 24
network_transport L2

slave:
[global]
dataset_comparison G.8275.x
logAnnounceInterval -3
logSyncInterval -4
logMinDelayReqInterval -4
tx_timestamp_timeout 5
domainNumber 24
network_transport L2

>From time to time there is a problem with ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES
on the slave side:
ptp4l[427119.431]: rms 16303 max 43131 freq -16891 +/- 3592 delay 15888 +/-
2066
ptp4l[427120.550]: rms 10060 max 19890 freq -17425 +/- 2254 delay 16322 +/-
2517
ptp4l[427121.691]: rms 9415 max 23956 freq -18151 +/- 2154 delay 17059 +/-
594
ptp4l[427122.810]: rms 10578 max 20124 freq -17774 +/- 2426 delay 14718 +/-
2239
ptp4l[427123.472]: port 1: SLAVE to LISTENING on
ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES
ptp4l[427123.472]: selected local clock 48df37.fffe.52407d as best master
ptp4l[427123.972]: selected local clock 48df37.fffe.52407d as best master
ptp4l[427124.460]: selected local clock 48df37.fffe.52407d as best master
ptp4l[427124.844]: selected local clock 48df37.fffe.52407d as best master
ptp4l[427125.248]: selected local clock 48df37.fffe.52407d as best master
ptp4l[427125.688]: selected local clock 48df37.fffe.52407d as best master
....

If I enable debugging on the master, I see an error:
ptp4l[402.740]: timed out while polling for tx timestamp
ptp4l[402.740]: increasing tx_timestamp_timeout may correct this issue, but
it is likely caused by a driver bug

The problem with the tx timestamp is not frequent, about once every 20
minutes.

You can help by answering a few questions:
1) Are ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES errors normal?
Or there shouldn't be any?
2) Maybe someone has encountered such errors and knows how to fix them?

To set the tx_timestamp I use the code
https://elixir.bootlin.com/linux/v4.9.322/source/drivers/net/ethernet/intel/e1000e/netdev.c#L1198
Best regards,
Vyasheslav
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to