]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: dpaa2-eth: convert to ndo_hwtstamp_set()
authorVladimir Oltean <vladimir.oltean@nxp.com>
Thu, 8 May 2025 13:41:01 +0000 (16:41 +0300)
committerJakub Kicinski <kuba@kernel.org>
Fri, 9 May 2025 23:41:51 +0000 (16:41 -0700)
commitb6e79c5da8c2fa44b24c1bb1b6effe8f6d5cd92f
tree6b8c378153ed2089e4cfe711b246234648ac59f4
parent4b3f6fb8d0a19f8e0e9dddd8c4db6733cca0316d
net: dpaa2-eth: convert to ndo_hwtstamp_set()

New timestamping API was introduced in commit 66f7223039c0 ("net: add
NDOs for configuring hardware timestamping") from kernel v6.6. It is
time to convert the DPAA2 Ethernet driver to the new API, so that the
ndo_eth_ioctl() path can be removed completely.

This driver only responds to SIOCSHWTSTAMP (not SIOCGHWTSTAMP) so
convert just that.

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-1-vladimir.oltean@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c