On Fri, 2026-07-17 at 06:59 +0000, Arthur Kiyanovski wrote:
> Add support for testing the new PTP_SYS_OFFSET_EXTENDED_ATTRS and
> PTP_SYS_OFFSET_PRECISE_ATTRS ioctls in the testptp utility.
>
> Add a "-a" modifier that requests clock quality attributes
> (error_bound, status, timescale) alongside the existing extended (-x)
> and precise (-X) offset requests:
>   -x N -a: extended offset with attributes (N samples)
>   -X -a:   precise cross-timestamp with attributes
>
> When the device does not report a given attribute, print an explicit
> "not reported" line so all attributes are always accounted for.
>
> These options allow testing and validation of PHC devices that provide
> clock quality information alongside timestamps.
>
> Also display the new clock_attrs capability in the -c output, and
> update print_system_timestamp to print unrecognized clock types instead
> of silently dropping them.
>
> Signed-off-by: Amit Bernstein <[email protected]>
> Signed-off-by: Arthur Kiyanovski <[email protected]>

Reviewed-by: David Woodhouse <[email protected]>

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to