1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/ethernet/amd/xgbe
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
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
xgbe-common.h amd-xgbe: add support for rx-adaptation 2023-02-02 15:17:19 +01:00
xgbe-dcb.c amd-xgbe: fix clang -Wformat warnings 2022-07-11 19:53:51 -07:00
xgbe-debugfs.c xgbe: no need to check return value of debugfs_create functions 2019-08-10 15:25:47 -07:00
xgbe-desc.c net: Use skb accessors in network drivers 2019-07-22 20:47:56 -07:00
xgbe-dev.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-01-20 12:28:23 -08:00
xgbe-drv.c net: annotate writes on dev->mtu from ndo_change_mtu() 2024-05-07 16:19:14 -07:00
xgbe-ethtool.c net: Add struct kernel_ethtool_ts_info 2024-07-15 08:02:26 -07:00
xgbe-i2c.c net: amd-xgbe: add missed tasklet_kill 2022-12-30 07:33:05 +00:00
xgbe-main.c ethernet: use eth_hw_addr_set() for dev->addr_len cases 2021-10-05 13:16:48 +01:00
xgbe-mdio.c amd-xgbe: handle corner-case during sfp hotplug 2023-11-23 13:47:23 +01:00
xgbe-pci.c net: amd-xgbe: Use PCI_IRQ_INTX instead of PCI_IRQ_LEGACY 2024-04-25 12:53:31 -05:00
xgbe-phy-v1.c amd-xgbe: Convert to using the new link mode settings 2017-08-18 16:30:17 -07:00
xgbe-phy-v2.c amd-xgbe: extend 10Mbps support to MAC version 21H 2023-06-13 10:44:11 +01:00
xgbe-platform.c net: xgbe: remove extraneous #ifdef checks 2024-04-05 22:11:28 -07:00
xgbe-ptp.c ptp: xgbe: convert to .adjfine and adjust_by_scaled_ppm 2022-10-31 11:14:16 +00:00
xgbe.h amd-xgbe: Avoid potential string truncation in name 2023-12-13 18:31:32 -08:00