The only state I know is “port state”, that you can see with PORT_DATA_SET or PORT_PROPERTIES_NP
I do not see any TLV for “clock state”. The clock state is fetched with clock_synchronize() See port_synchronize() in port.c Erez From: Ruby Bhati <[email protected]> Sent: Thursday, 15 April 2021 13:10 To: Geva, Erez (ext) (DI PA DCP R&D 3) <[email protected]> Subject: Re: [Linuxptp-devel] Get servo state from PMC Hi Erez, Actually i can see in ptp4l, there are four servo states as SERVO_UNLOCKED SERVO_JUMP SERVO_LOCKED SERVO_LOCKED_STABLE In port.c, there is function clock_servo_state to get the current servo state. Is there any way from pmc also I can read this servo state Thanks, Ruby Bhati On Thu, Apr 15, 2021 at 4:31 PM Geva, Erez <[email protected]<mailto:[email protected]>> wrote: Hi, Can you be more explicit? What do you mean by “servo state”? What state you want to query? Erez From: Ruby Bhati <[email protected]<mailto:[email protected]>> Sent: Thursday, 15 April 2021 12:49 To: [email protected]<mailto:[email protected]> Subject: Re: [Linuxptp-devel] Get servo state from PMC Hi, Updating the Qus. Is there any way to get the current running servo state via pmc? On Thu, Apr 15, 2021 at 4:13 PM Ruby Bhati <[email protected]<mailto:[email protected]>> wrote: Hi Is there any way to get the current running state via pmc? Thanks, Ruby Bhati
_______________________________________________ Linuxptp-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linuxptp-devel
