From: Wojciech Drewek <[email protected]>
Date: Wed, 21 Aug 2024 14:15:38 +0200

> From: Jacob Keller <[email protected]>
> 
> Add handlers for the .ndo_hwtstamp_get and .ndo_hwtstamp_set ops which
> allow userspace to request timestamp enablement for the device. This
> support allows standard Linux applications to request the timestamping
> desired.
> 
> As with other devices that support timestamping all packets, the driver
> will upgrade any request for timestamping of a specific type of packet
> to HWTSTAMP_FILTER_ALL.
> 
> The current configuration is stored, so that it can be retrieved by
> calling .ndo_hwtstamp_get
> 
> The Tx timestamps are not implemented yet so calling set ops for
> Tx path will end with EOPNOTSUPP error code.
> 
> Signed-off-by: Jacob Keller <[email protected]>
> Reviewed-by: Wojciech Drewek <[email protected]>
> Reviewed-by: Rahul Rameshbabu <[email protected]>
> Reviewed-by: Simon Horman <[email protected]>

Reviewed-by: Alexander Lobakin <[email protected]>

> Co-developed-by: Mateusz Polchlopek <[email protected]>
> Signed-off-by: Mateusz Polchlopek <[email protected]>
> Signed-off-by: Wojciech Drewek <[email protected]>

Thanks,
Olek

Reply via email to