]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: dpaa_eth: convert to ndo_hwtstamp_set()
authorVladimir Oltean <vladimir.oltean@nxp.com>
Thu, 8 May 2025 12:47:51 +0000 (15:47 +0300)
committerJakub Kicinski <kuba@kernel.org>
Fri, 9 May 2025 23:40:22 +0000 (16:40 -0700)
commitb45bf3f84ec410e6d392b8f755b5e5470f01deeb
treebd24e49f64b97fd510d2eb106f55dc2a41977949
parent6c14058edfd01cdc0d3018b9069643b0da7c3e80
net: dpaa_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 DPAA1 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>
Reviewed-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Acked-by: Madalin Bucur <madalin.bucur@oss.nxp.com>
Link: https://patch.msgid.link/20250508124753.1492742-2-vladimir.oltean@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c