Re: [PATCH net-next v9 08/13] ptp: Add phc source and helpers to register specific PTP clock or get information

From
Jakub Kicinski <kuba@kernel.org>
Date
2024-03-05 02:57:37
Also in
linux-doc, lkml
Reply to
Kory Maincent, 2024-02-26
On Mon, 26 Feb 2024 14:39:59 +0100 Kory Maincent wrote:
Prepare for future hardware timestamp selection by adding source and
corresponding pointers to ptp_clock structure. Additionally, introduce
helpers for registering specific phydev or netdev PTP clocks, retrieving
PTP clock information such as hwtstamp source or phydev/netdev pointers,
and obtaining the ptp_clock structure from the phc index.
Can we assume there's one PHC per netdev?
We both store the netdev/phydev info in the ptp clock
and ptp clock in the netdev. Is there a reason for that?
Thread (33 messages) 33 messages, 4 authors, last reply 2024-03-05
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