Re: [PATCH net-next v10 07/13] net: Add struct kernel_ethtool_ts_info

From
Jakub Kicinski <kuba@kernel.org>
Date
2024-04-10 01:27:28
Also in
linux-doc, lkml
Reply to
Kory Maincent, 2024-04-09
On Tue, 09 Apr 2024 10:26:29 +0200 Kory Maincent wrote:
In prevision to add new UAPI for hwtstamp we will be limited to the struct
ethtool_ts_info that is currently passed in fixed binary format through the
ETHTOOL_GET_TS_INFO ethtool ioctl. It would be good if new kernel code
already started operating on an extensible kernel variant of that
structure, similar in concept to struct kernel_hwtstamp_config vs struct
hwtstamp_config.

Since struct ethtool_ts_info is in include/uapi/linux/ethtool.h, here
we introduce the kernel-only structure in include/linux/ethtool.h.
The manual copy is then made in the function called by ETHTOOL_GET_TS_INFO.
This one now conflicts :(

Applying: net: Add struct kernel_ethtool_ts_info
error: sha1 information is lacking or useless (drivers/net/phy/marvell_ptp.c).
error: could not build fake ancestor
-- 
pw-bot: cr
Thread (24 messages) 24 messages, 4 authors, last reply 2024-04-14
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