mbox series

[net-next,v2,0/2] selftests/ptp: Add support for new timestamp IOCTLs

Message ID cover.1690321709.git.alex.maftei@amd.com (mailing list archive)
Headers show
Series selftests/ptp: Add support for new timestamp IOCTLs | expand

Message

Alex Maftei July 25, 2023, 9:53 p.m. UTC
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

Alex Maftei (2):
  selftests/ptp: Add -x option for testing PTP_SYS_OFFSET_EXTENDED
  selftests/ptp: Add -X option for testing PTP_SYS_OFFSET_PRECISE

 tools/testing/selftests/ptp/testptp.c | 73 ++++++++++++++++++++++++++-
 1 file changed, 71 insertions(+), 2 deletions(-)

Comments

Richard Cochran July 25, 2023, 10:53 p.m. UTC | #1
On Tue, Jul 25, 2023 at 10:53:32PM +0100, Alex Maftei wrote:
> 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
> 
> Alex Maftei (2):
>   selftests/ptp: Add -x option for testing PTP_SYS_OFFSET_EXTENDED
>   selftests/ptp: Add -X option for testing PTP_SYS_OFFSET_PRECISE
> 
>  tools/testing/selftests/ptp/testptp.c | 73 ++++++++++++++++++++++++++-
>  1 file changed, 71 insertions(+), 2 deletions(-)

For the series:

Acked-by: Richard Cochran <richardcochran@gmail.com>
patchwork-bot+netdevbpf@kernel.org July 28, 2023, 10:10 a.m. UTC | #2
Hello:

This series was applied to netdev/net-next.git (main)
by David S. Miller <davem@davemloft.net>:

On Tue, 25 Jul 2023 22:53:32 +0100 you wrote:
> 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.
> 
> [...]

Here is the summary with links:
  - [net-next,v2,1/2] selftests/ptp: Add -x option for testing PTP_SYS_OFFSET_EXTENDED
    https://git.kernel.org/netdev/net-next/c/c8ba75c4eb84
  - [net-next,v2,2/2] selftests/ptp: Add -X option for testing PTP_SYS_OFFSET_PRECISE
    https://git.kernel.org/netdev/net-next/c/3cf119ad5dc2

You are awesome, thank you!