hi ravi,
I think there is no such api, you can only get ptp status through
management messages

ravi dandamudi <rkdandam...@gmail.com> 于2023年3月28日周二 15:34写道:

> Hi All,
>
> Just wanted to know, Is there any other way to get offset value without
> using PMC command.
>
> Any APIs are available?
>
> Thanks
> Ravi
>
> On Tue, 28 Mar, 2023, 12:38 pm Vladimir Oltean, <olte...@gmail.com> wrote:
>
>> On Tue, Mar 28, 2023 at 01:42:05PM +0800, Merlin He wrote:
>> > Richard Cochran <richardcoch...@gmail.com> 于2023年3月28日周二 11:27写道:
>> > > On Tue, Mar 28, 2023 at 10:57:43AM +0800, merlinhe wrote:
>> > > > Hi Miroslav,
>> > > >
>> > > > We use Synopsys's IP, the driver is the same as stmmac
>> > >
>> > > Yeah, the stmmac driver is crazy bad.
>> > >
>> > > It is not clear to me whether setting the time when enabling time
>> > > stamping is actually required by the IP core or not.
>> > >
>> > > But even if it were required, still the driver should attempt to keep
>> > > the MAC unaltered by reprogramming the current MAC time.
>> > >
>> >
>> > Hi Richard,
>> > Thank you, We are going to report this issue to Synopsys
>>
>> Problem already solved, please use a kernel which tracks linux-stable.
>>
>> https://github.com/torvalds/linux/commit/a6da2bbb0005e6b4909472962c9d0af29e75dd06
>>
>>
>> _______________________________________________
>> Linuxptp-users mailing list
>> Linuxptp-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/linuxptp-users
>>
>
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to