Skip to content
Commit 220a60a4 authored by Ben Hutchings's avatar Ben Hutchings
Browse files

pps/ptp: Allow PHC devices to adjust PPS events for known delay



Initial version by Stuart Hodgson <smhodgson@solarflare.com>

Some PHC device drivers may deliver PPS events with a significant
and variable delay, but still be able to measure precisely what
that delay is.

Add a pps_sub_ts() function for subtracting a delay from the
timestamp(s) in a PPS event, and a PTP event type (PTP_CLOCK_PPSUSR)
for which the caller provides a complete PPS event.

Signed-off-by: default avatarBen Hutchings <bhutchings@solarflare.com>
parent ef2c7d7b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment