selftests/ptp: Add -X option for testing PTP_SYS_OFFSET_PRECISE

[ Upstream commit 3cf119ad5d ]

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>
Stable-dep-of: 76868642e4 ("testptp: Add option to open PHC in readonly mode")
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Alex Maftei 2023-07-25 22:53:34 +01:00 • committed by Greg Kroah-Hartman
commit 3d4f2eda35