Files
erofs-linux/tools/testing/selftests/ptp
Miroslav Lichvar 27390db959 testptp: add option to enable external timestamping edges
Some drivers (e.g. ice) don't enable any edges by default when external
timestamping is requested by the PTP_EXTTS_REQUEST ioctl, which makes
testptp -e unusable for testing hardware supported by these drivers.

Add -E option to specify if the rising, falling, or both edges should
be enabled by the ioctl.

Signed-off-by: Miroslav Lichvar <[email protected]>
Cc: Richard Cochran <[email protected]>
Cc: Jacob Keller <[email protected]>
Reviewed-by: Vadim Fedorenko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
2025-06-23 13:32:14 +01:00
..
…
…