Re: [Intel-wired-lan] [PATCH] net: e1000e: convert to ndo_hwtstamp_get() and ndo_hwtstamp_set()

From: Vadim Fedorenko
Date: Tue Feb 04 2025 - 09:06:41 EST


On 03/02/2025 16:41, Paul Menzel wrote:
Dear Piotr,


Thank you for your patch.

Am 02.02.25 um 18:08 schrieb Piotr Wejman:
Update the driver to the new hw timestamping API.

Could you please elaborate. Maybe a pointer to the new API, and what commit added it, and what tests were done, and/or are needed?

The new API was added in 66f7223039c0 ("net: add NDOs for configuring
hardware timestamping") back in 2023, the old ioctl interface is in
deprecated state now.


Signed-off-by: Piotr Wejman <piotrwejman90@xxxxxxxxx>
---
  drivers/net/ethernet/intel/e1000e/e1000.h  |  2 +-
  drivers/net/ethernet/intel/e1000e/netdev.c | 52 ++++++++--------------
  2 files changed, 20 insertions(+), 34 deletions(-)


Kind regards,

Paul