Thread (19 messages) flat view 19 messages, 5 authors, 2021-01-21

Re: [PATCH net-next] net: ethtool: allow MAC drivers to override ethtool get_ts_info

From: Andrew Lunn <andrew@lunn.ch>
Date: 2021-01-21 16:30:10

On Thu, Jan 21, 2021 at 07:06:11AM -0800, Richard Cochran wrote:
On Thu, Jan 21, 2021 at 10:27:38AM +0000, Russell King - ARM Linux admin wrote:
quoted
As I already explained to you, you can *NOT* use kernel configuration
to make the choice.  ARM is a multi-platform kernel, and we will not
stand for platform choices dictated by kernel configuration options.
This has nothing to do with ARM as a platform.  The same limitation
applies to x86 and all the rest.

The networking stack does not support simultaneous PHY and MAC time
stamping.
Hi Richard

And this appears to be the crux of the problem.

You say PHY timestamping is exotic. I would disagree with that.  Many
Marvell PHYs support it, using similar hardware as to what is in the
Marvell DSA switches. The Aquantia PHYs support it, but have no driver
support at the moment. Microsemi PHYs have driver support for
it. There are Broadcom PHYs with the needed hardware. So does some of
the Qualcom PHYs. There are automotive T1 PHYs with PTP hardware
support. Some Realtek devices have the hardware.

There is a growing interesting in PTP, the number of drivers keeps
going up. The likelihood of MAC/PHY combination having two
timestamping sources is growing all the time. So the stack needs to
change to support the selection of the timestamp source.

       Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help