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 <mlichvar@redhat.com>
Cc: Richard Cochran <richardcochran@gmail.com>
Cc: Jacob Keller <jacob.e.keller@intel.com>
Reviewed-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Signed-off-by: David S. Miller <davem@davemloft.net>
2025-06-23 13:32:14 +01:00
..
.gitignore
Makefile selftests/ptp: Remove clean target from Makefile 2023-02-13 10:05:49 -07:00
phc.sh
ptpchmaskfmt.sh ptp: add debugfs interface to see applied channel masks 2023-10-15 20:07:52 +01:00
testptp.c testptp: add option to enable external timestamping edges 2025-06-23 13:32:14 +01:00
testptp.mk