Re: [PATCH v2] net: e1000e: convert to ndo_hwtstamp_get() and ndo_hwtstamp_set()

From: Vadim Fedorenko
Date: Mon Feb 10 2025 - 04:13:46 EST


On 08/02/2025 15:43, Piotr Wejman wrote:
Update the driver to use the new hardware timestamping API added in commit
66f7223039c0 ("net: add NDOs for configuring hardware timestamping").
Use Netlink extack for error reporting in e1000e_hwtstamp_set.
Align the indentation of net_device_ops.

Signed-off-by: Piotr Wejman <wejmanpm@xxxxxxxxx>
---
Changes in v2:
- amend commit message
- use extack for error reporting
- rename e1000_mii_ioctl to e1000_ioctl
- Link to v1: https://lore.kernel.org/netdev/20250202170839.47375-1-piotrwejman90@xxxxxxxxx/


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