Merge branch 'selftest-ptp'
authorDavid S. Miller <davem@davemloft.net>
Fri, 28 Jul 2023 09:59:40 +0000 (10:59 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Jul 2023 09:59:40 +0000 (10:59 +0100)
commit92af463d68f3a10cbf21862ced062bcf84f1315f
tree12ddb49bd09b181c24d35648c6e48ff542ec4402
parent8ad228b1abe97b92100dcaef74cda86378874698
parent3cf119ad5dc2b5c11385106d6d0ba86fbb47324c
Merge branch 'selftest-ptp'

Alex Maftei says:

====================
selftests/ptp: Add support for new timestamp IOCTLs

PTP_SYS_OFFSET_EXTENDED was added in November 2018 in
361800876f80 (" ptp: add PTP_SYS_OFFSET_EXTENDED ioctl")
and PTP_SYS_OFFSET_PRECISE was added in February 2016 in
719f1aa4a671 ("ptp: Add PTP_SYS_OFFSET_PRECISE for driver crosstimestamping")

The PTP selftest code is lacking support for these two IOCTLS.
This short series of patches adds support for them.

Changes in v2:
- Fixed rebase issues (v1 somehow ended up with patch 1 being from the
  first manual split of my changes and patch 2 being from rebase 2 out
  of 3)
- Rebased on top of net-next
====================

Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>