linux-next/drivers/net/dsa/hirschmann
Kory Maincent 2111375b85 net: Add struct kernel_ethtool_ts_info
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.

Acked-by: Shannon Nelson <shannon.nelson@amd.com>
Acked-by: Alexandra Winter <wintera@linux.ibm.com>
Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
Link: https://patch.msgid.link/20240709-feature_ptp_netnext-v17-6-b5317f50df2a@bootlin.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-07-15 08:02:26 -07:00
..
hellcreek_hwtstamp.c net: Add struct kernel_ethtool_ts_info 2024-07-15 08:02:26 -07:00
hellcreek_hwtstamp.h net: Add struct kernel_ethtool_ts_info 2024-07-15 08:02:26 -07:00
hellcreek_ptp.c net: dsa: hellcreek: Convert to gettimex64() 2024-03-29 10:44:17 +00:00
hellcreek_ptp.h net: dsa: hellcreek: Add PTP status LEDs 2020-11-05 14:04:50 -08:00
hellcreek.c net: dsa: hirschmann: Convert to platform remove callback returning void 2023-09-20 10:25:57 +01:00
hellcreek.h net: dsa: hellcreek: Replace kernel.h with what is used 2024-06-10 13:13:02 +01:00
Kconfig net: dsa: hellcreek: Add missing TAPRIO dependency 2021-01-29 21:02:31 -08:00
Makefile net: dsa: hellcreek: Add support for hardware timestamping 2020-11-05 14:04:49 -08:00