Re: [Linuxptp-devel] [PATCH v4 2/4] [Interface Rate TLV] adding speed field information for interface

2022-12-30 Thread Erez
On Thu, 29 Dec 2022 at 07:52, SyncMonk Technologies wrote: > Get the interface speed related information using ethtool and > convert interface speed to bit rate in attoseconds per bit. > > v4: adding interface bit period in iface_if_info. This bit period > is updated during init time and when

Re: [Linuxptp-devel] [PATCH v3 1/4] [Interface Rate TLV] function to support get interface speed via ethtool

2022-12-30 Thread Erez
On Thu, 29 Dec 2022 at 08:02, Devasish Dey wrote: > Hi Erez, > > >> > + goto failed; >> > + } >> >> I think it is better to merge this ioctl and the socket creation with >> sk_get_ts_info(). >> No reason for duplication. >> You can use a static function or inline one. > > The