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-15 09:13:03
Also in: linux-doc, lkml

On Thu, 14 Nov 2024 17:39:06 -0800
Jakub Kicinski [off-list ref] wrote:
On Thu, 14 Nov 2024 11:46:10 +0100 Kory Maincent wrote:
 [...]  
quoted
quoted
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 think so :) We need to be able to figure out if it's the MAC PHC
quickly, because MAC timestamping can be high rate. But IIUC PHY
timestamping will usually involve async work and slow buses, so
walking all PHYs of a netdev should be fine. Especially that 99%
of the time there will only be one. Hope I understood the question..
Yes, thanks for the confirmation. 

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