Re: [PATCH net-next v4] net: Add support for providing the PTP hardware source in tsinfo

From: Kory Maincent
Date: Mon Jun 09 2025 - 10:08:59 EST


Le Mon, 9 Jun 2025 15:18:49 +0300,
Gal Pressman <gal@xxxxxxxxxx> a écrit :

> On 22/05/2025 16:40, patchwork-bot+netdevbpf@xxxxxxxxxx wrote:
> > Hello:
> >
> > This patch was applied to netdev/net-next.git (main)
> > by Paolo Abeni <pabeni@xxxxxxxxxx>:
> >
> > On Mon, 19 May 2025 10:45:05 +0200 you wrote:
> >> Multi-PTP source support within a network topology has been merged,
> >> but the hardware timestamp source is not yet exposed to users.
> >> Currently, users only see the PTP index, which does not indicate
> >> whether the timestamp comes from a PHY or a MAC.
> >>
> >> Add support for reporting the hwtstamp source using a
> >> hwtstamp-source field, alongside hwtstamp-phyindex, to describe
> >> the origin of the hardware timestamp.
> >>
> >> [...]
> >
> > Here is the summary with links:
> > - [net-next,v4] net: Add support for providing the PTP hardware source in
> > tsinfo https://git.kernel.org/netdev/net-next/c/4ff4d86f6cce
> >
> > You are awesome, thank you!
>
> Netdev maintainers,
>
> Was there a discussion about merging this without a selftest that covers
> this uapi extension? Is this considered an exception?

Not that I know of.
Indeed I will update tools/testing/selftests/net/hwtstamp_config.c following
the new uAPI using netlink instead of ioctl.

Regards,
--
Köry Maincent, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com