[PATCH net-next v2 6/7] net: pch_gbe: convert to use ndo_hwtstamp callbacks
Kory Maincent
kory.maincent at bootlin.com
Mon Nov 3 11:20:28 PST 2025
On Mon, 3 Nov 2025 15:09:51 +0000
Vadim Fedorenko <vadim.fedorenko at linux.dev> wrote:
> The driver implemented SIOCSHWTSTAMP ioctl command only, but it stores
> configuration in the private data, so it is possible to report it back
> to users. Implement both ndo_hwtstamp_set and ndo_hwtstamp_get
> callbacks. To properly report RX filter type, store it in hwts_rx_en
> instead of using this field as a simple flag. The logic didn't change
> because receive path used this field as boolean flag.
Reviewed-by: Kory Maincent <kory.maincent at bootlin.com>
Thank you!
--
Köry Maincent, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com
More information about the linux-arm-kernel
mailing list