ptpclock: Allow at least 100ms delay between Sync/Follow_Up and Delay_Req/Delay_Resp...
authorSebastian Dröge <sebastian@centricular.com>
Tue, 12 Apr 2022 16:22:51 +0000 (19:22 +0300)
committerSeungha Yang <seungha@centricular.com>
Tue, 12 Apr 2022 18:57:23 +0000 (18:57 +0000)
commit416e16aefd7278397e9a6f70e2a6328883fd042a
tree0671aca89dbcc5ad0966e9fb18331db48146bb8b
parent83ba83924af53ad06e2a1a0f945508e22704f879
ptpclock: Allow at least 100ms delay between Sync/Follow_Up and Delay_Req/Delay_Resp messages

It doesn't matter for measurement purposes whether receiving them takes
a while and various PTP servers are not prioritizing to send them,
causing them to be dropped unnecessarily and preventing proper
synchronization with such servers.

This is especially a problem if the RTTs in the network are very low
compared to the additional delay imposed by the server.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2161>
subprojects/gstreamer/libs/gst/net/gstptpclock.c