Re: [PATCH v5 net-next 3/3] selftests:net: Implement ptp4l sync test using netdevsim

Andrew Lunn
2026-05-05T16:53:39Z

> >>> Anything we need to do?
> >>
> >> Can you share the config file you used? Seems the PTP clock was not
> >> found which may lead to PTP_1588_CLOCK_MOCK not being enabled?
> >
> > Shouldn't the configuration file be part of the test?
> >
> > Andrew
>
> I meant the kernel config.

Ah. O.K.

> The PTP emulation requires PTP Mock to be
> enabled, as that's the backbone for generating timestamps. If it's
> disabled - netdevsim netdevs will report no timestamping support, as in
> the example above.

Maybe a Kconfig selects or depends should be added to netdevsim to
ensure the needed parts are enabled?

Andrew