OSDN Git Service

selftests/ptp: Add -X option for testing PTP_SYS_OFFSET_PRECISE
authorAlex Maftei <alex.maftei@amd.com>
Tue, 25 Jul 2023 21:53:34 +0000 (22:53 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Jul 2023 09:59:40 +0000 (10:59 +0100)
commit3cf119ad5dc2b5c11385106d6d0ba86fbb47324c
tree12ddb49bd09b181c24d35648c6e48ff542ec4402
parentc8ba75c4eb846888f8f2730690b99cb5bf7b337c
selftests/ptp: Add -X option for testing PTP_SYS_OFFSET_PRECISE

The -X option was chosen because X looks like a cross, and the underlying
callback is 'get cross timestamp'.

Signed-off-by: Alex Maftei <alex.maftei@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/ptp/testptp.c