Re: [PATCH net-next v17 07/14] ptp: Add phc source and helpers to register specific PTP clock or get information

From
Jacob Keller <jacob.e.keller@intel.com>
Date
2024-07-15 23:45:02
Also in
linux-doc, lkml
Reply to
Kory Maincent, 2024-07-09

On 7/9/2024 6:53 AM, 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.
These helpers are added to a new ptp_clock_consumer.c file, built as
builtin. This is necessary because these helpers will be called by
ethtool or net timestamping, which are builtin code.

Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
---
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Thread (39 messages) 39 messages, 4 authors, last reply 2024-09-26
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