Re: [PATCH net-next v9 06/13] net: Add struct kernel_ethtool_ts_info

From: Alexandra Winter
Date: Mon Feb 26 2024 - 11:49:48 EST




On 26.02.24 14:39, 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.
>
> Signed-off-by: Kory Maincent <kory.maincent@xxxxxxxxxxx>
> ---

For drivers/s390/net/qeth_ethtool.c :
Acked-by: Alexandra Winter <wintera@xxxxxxxxxxxxx>