On Thu, 18 Apr, 2024 01:24:59 -0400 Mateusz Polchlopek <mateusz.polchlo...@intel.com> wrote: > From: Jacob Keller <jacob.e.kel...@intel.com> > > Add handlers for the SIOCSHWTSTAMP and SIOCGHWTSTAMP ioctls 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 > SIOCGHWTSTAMP. > > The Tx timestamps are not implemented yet so calling SIOCSHWTSTAMP for > Tx path will end with EOPNOTSUPP error code. > > Reviewed-by: Wojciech Drewek <wojciech.dre...@intel.com> > Signed-off-by: Jacob Keller <jacob.e.kel...@intel.com> > Co-developed-by: Mateusz Polchlopek <mateusz.polchlo...@intel.com> > Signed-off-by: Mateusz Polchlopek <mateusz.polchlo...@intel.com> > ---
Reviewed-by: Rahul Rameshbabu <rrameshb...@nvidia.com>