Re: [PATCH net-next 1/2] net: dpaa2-eth: convert to ndo_hwtstamp_set()

From: Vadim Fedorenko
Date: Thu May 08 2025 - 16:41:40 EST


On 08/05/2025 14:41, Vladimir Oltean wrote:
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@xxxxxxx>
Tested-by: Vladimir Oltean <vladimir.oltean@xxxxxxx> # LX2160A

Reviewed-by: Vadim Fedorenko <vadim.fedorenko@xxxxxxxxx>