1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/ethernet/engleder
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
..
Kconfig tsnep: Use page pool for RX 2022-09-30 11:32:27 +01:00
Makefile tsnep: Support XDP BPF program setup 2023-01-18 13:17:06 +00:00
tsnep.h tsnep: Fix tsnep_request_irq() format-overflow warning 2023-10-24 13:05:28 -07:00
tsnep_ethtool.c net: Add struct kernel_ethtool_ts_info 2024-07-15 08:02:26 -07:00
tsnep_hw.h tsnep: Inline small fragments within TX descriptor 2023-10-16 09:59:34 +01:00
tsnep_main.c xsk: use generic DMA sync shortcut instead of a custom one 2024-05-08 08:51:20 +02:00
tsnep_ptp.c tsnep: Add free running cycle counter support 2022-05-10 09:48:09 +02:00
tsnep_rxnfc.c tsnep: Add EtherType RX flow classification support 2022-09-30 11:32:27 +01:00
tsnep_selftests.c net/sched: taprio: replace tc_taprio_qopt_offload :: enable with a "cmd" enum 2023-05-31 10:00:30 +01:00
tsnep_tc.c net/sched: taprio: replace tc_taprio_qopt_offload :: enable with a "cmd" enum 2023-05-31 10:00:30 +01:00
tsnep_xdp.c tsnep: Add XDP socket zero-copy RX support 2023-04-24 18:22:38 -07:00