JIRA: https://issues.redhat.com/browse/RHEL-57750 commit 2111375b85ad173d58e7b8604246a3de60950ac8 Author: Kory Maincent <kory.maincent@bootlin.com> Date: Tue Jul 9 15:53:38 2024 +0200 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> Conflicts: drivers/net/dsa/microchip/ksz_ptp.c drivers/net/dsa/microchip/ksz_ptp.h drivers/net/ethernet/engleder/tsnep_ethtool.c drivers/net/ethernet/fungible/funeth/funeth_ethtool.c drivers/net/ethernet/microchip/lan966x/lan966x_ethtool.c drivers/net/ethernet/renesas/rtsn.c net/dsa/user.c - code not present in RHEL drivers/net/ethernet/microchip/sparx5/sparx5_ethtool.c drivers/net/ethernet/mscc/ocelot_ptp.c - code disabled in RHEL config drivers/net/ethernet/hisilicon/hns3/hnae3.h drivers/net/ethernet/mellanox/mlxsw/spectrum_ethtool.c drivers/net/ethernet/sfc/ptp.h - context conflicts due to patching out-of-order Signed-off-by: Michal Schmidt <mschmidt@redhat.com> |
||
---|---|---|
.. | ||
b53 | ||
hirschmann | ||
microchip | ||
mv88e6xxx | ||
ocelot | ||
qca | ||
sja1105 | ||
xrs700x | ||
Kconfig | ||
Makefile | ||
bcm_sf2.c | ||
bcm_sf2.h | ||
bcm_sf2_cfp.c | ||
bcm_sf2_regs.h | ||
dsa_loop.c | ||
dsa_loop.h | ||
dsa_loop_bdinfo.c | ||
lan9303-core.c | ||
lan9303.h | ||
lan9303_i2c.c | ||
lan9303_mdio.c | ||
lantiq_gswip.c | ||
lantiq_pce.h | ||
mt7530.c | ||
mt7530.h | ||
mv88e6060.c | ||
mv88e6060.h | ||
qca8k.c | ||
qca8k.h | ||
realtek-smi-core.c | ||
realtek-smi-core.h | ||
rtl8366.c | ||
rtl8366rb.c | ||
vitesse-vsc73xx-core.c | ||
vitesse-vsc73xx-platform.c | ||
vitesse-vsc73xx-spi.c | ||
vitesse-vsc73xx.h |