]> Gentwo Git Trees - linux/.git/commit
net: e1000e: convert to ndo_hwtstamp_get() and ndo_hwtstamp_set()
authorPiotr Wejman <wejmanpm@gmail.com>
Sat, 22 Feb 2025 12:46:29 +0000 (13:46 +0100)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Fri, 11 Apr 2025 18:58:58 +0000 (11:58 -0700)
commit39aa687a849489897a15cd8a2d8a4b513def6237
tree7030dc4f2972eb6ac8b59672f8a026136f02fc6b
parentf9c961efb0f44b4319e73a3c40e831db2de4d074
net: e1000e: convert to ndo_hwtstamp_get() and ndo_hwtstamp_set()

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_config_hwtstamp.
Align the indentation of net_device_ops.

Reviewed-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Vitaly Lifshits <vitaly.lifshits@intel.com>
Signed-off-by: Piotr Wejman <wejmanpm@gmail.com>
Tested-by: Avigail Dahan <avigailx.dahan@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/e1000e/e1000.h
drivers/net/ethernet/intel/e1000e/netdev.c