Thread (22 messages) 22 messages, 3 authors, 2024-11-15

Re: [PATCH net-next v19 03/10] ptp: Add phc source and helpers to register specific PTP clock or get information

From: Kory Maincent <kory.maincent@bootlin.com>
Date: 2024-11-14 10:46:22
Also in: linux-doc, lkml

On Wed, 13 Nov 2024 16:39:25 -0800
Jakub Kicinski [off-list ref] wrote:
On Wed, 13 Nov 2024 11:38:08 +0100 Kory Maincent wrote:
quoted
quoted
IOW I'm struggling to connect the dots how the code you're adding now
will be built _upon_ rather than _on the side_ of when socket PHC
selection is in place.    
I see what you mean! It is not something easy to think of as I don't really
know how it would be implemented.
Do you think adding simply the PHC source and the phydev pointer or index
would fit?   
In net_device? Yes, I think so.
 
Also as the "user" is not described in the ptp_clock structure the only way to
find it is to roll through all the PTP of the concerned net device topology.
This find ptp loop will not be in the hotpath but only when getting the tsinfo
of a PHC or changing the current PHC. Is it ok for you?

I am at v20 so I ask for confirmation before changing the full patch series! ;)

Regards,
-- 
Köry Maincent, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help