linux/drivers/net/ethernet/freescale/dpaa2
Vladimir Oltean d27c6e8975 net: dpaa2-eth: add ndo_hwtstamp_get() implementation
Allow SIOCGHWTSTAMP to retrieve the current timestamping settings on
DPNIs. This reflects what has been done in dpaa2_eth_hwtstamp_set().

Tested with hwstamp_ctl -i endpmac17. Before the change, it prints
"Device driver does not have support for non-destructive SIOCGHWTSTAMP."
After the change, it retrieves the previously set configuration.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Tested-by: Vladimir Oltean <vladimir.oltean@nxp.com> # LX2160A
Reviewed-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Link: https://patch.msgid.link/20250508134102.1747075-2-vladimir.oltean@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-05-09 16:41:51 -07:00
..
dpaa2-eth-dcb.c
dpaa2-eth-debugfs.c
dpaa2-eth-debugfs.h
dpaa2-eth-devlink.c
dpaa2-eth-trace.h
dpaa2-eth.c net: dpaa2-eth: add ndo_hwtstamp_get() implementation 2025-05-09 16:41:51 -07:00
dpaa2-eth.h
dpaa2-ethtool.c net: freescale: use ethtool string helpers 2024-10-31 18:34:48 -07:00
dpaa2-mac.c net: freescale: use ethtool string helpers 2024-10-31 18:34:48 -07:00
dpaa2-mac.h net: freescale: use ethtool string helpers 2024-10-31 18:34:48 -07:00
dpaa2-ptp.c
dpaa2-ptp.h
dpaa2-switch-ethtool.c net: freescale: use ethtool string helpers 2024-10-31 18:34:48 -07:00
dpaa2-switch-flower.c
dpaa2-switch.c rtnetlink: add ndo_fdb_dump_context 2024-12-10 18:32:32 -08:00
dpaa2-switch.h
dpaa2-xsk.c
dpkg.h
dpmac-cmd.h
dpmac.c
dpmac.h
dpni-cmd.h
dpni.c
dpni.h
dprtc-cmd.h
dprtc.c
dprtc.h
dpsw-cmd.h
dpsw.c
dpsw.h
Kconfig
Makefile