Re: [PATCH RFC V1 net-next 3/4] net: Let the active time stamping layer be selectable.

From
Michael Walle <hidden>
Date
2022-04-05 12:03:21
Also in
lkml
Reply to
Richard Cochran, 2022-04-05
Am 2022-04-05 07:59, schrieb Richard Cochran:
On Mon, Apr 04, 2022 at 07:12:11PM +0200, Michael Walle wrote:
quoted
That would make sense. I guess what bothers me with the current
mechanism is that a feature addition to the PHY in the *future* (the
timestamping support) might break a board - or at least changes the
behavior by suddenly using PHY timestamping.
That is a good point, but then something will break in any case.
Can the ethernet driver select the default one? So any current
driver which has "if phy_has_hwtstamp() forward_ioctl;" can set
it to PHY while newer drivers can (or should actually) leave it as
MAC.

This doesn't really fix the problem per se. But at least new
drivers won't be affected. For my problem at hand, I'd need to
convince Microchip to default to MAC although the driver is
already in the tree (but there is no user of it in mainline
right now).

-michael
Thread (28 messages) 28 messages, 8 authors, last reply 2022-04-06
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help