Re: [Linuxptp-users] pmc query getting blocked.

2020-02-06 Thread Cliff Spradlin via Linuxptp-users
On Thu, Feb 6, 2020 at 9:08 AM Richard Cochran wrote: > We have a push model, and state transition notifications are already implemented. Okay, cool! :). Thanks for the clarification. ___ Linuxptp-users mailing list Linuxptp-users@lists.sourceforge.ne

Re: [Linuxptp-users] pmc query getting blocked.

2020-02-06 Thread Richard Cochran
On Thu, Feb 06, 2020 at 08:56:04AM -0800, Cliff Spradlin wrote: > > Is there any other tool available to track if ptp4l slave locked to GM ? > > I find it easier to track ptp4l status by parsing its text output. > State transitions aren't easily captured via polling mechanisms like > pmc. We have

Re: [Linuxptp-users] pmc query getting blocked.

2020-02-06 Thread Cliff Spradlin via Linuxptp-users
> Is there any other tool available to track if ptp4l slave locked to GM ? I find it easier to track ptp4l status by parsing its text output. State transitions aren't easily captured via polling mechanisms like pmc. And phc2sys doesn't currently have any concept of pmc, so if you're going to write

Re: [Linuxptp-users] pmc query getting blocked.

2020-02-05 Thread Richard Cochran
On Thu, Feb 06, 2020 at 02:26:52AM +, RAVEENDRA M wrote: > We are seeing this behavior our few systems where pmc doesn't return or > blocks. > Any specific configuration could be causing the pmc to block ? If there are no replies, then the pmc program has nothing to print. This has nothing a

Re: [Linuxptp-users] pmc query getting blocked.

2020-02-05 Thread RAVEENDRA M via Linuxptp-users
We are seeing this behavior our few systems where pmc doesn't return or blocks. Any specific configuration could be causing the pmc to block ? Thanks, raveendra On Wednesday, February 5, 2020, 08:03:36 PM GMT+5:30, Richard Cochran wrote: On Wed, Feb 05, 2020 at 07:14:17AM +, RAVEEN

Re: [Linuxptp-users] pmc query getting blocked.

2020-02-05 Thread Richard Cochran
On Wed, Feb 05, 2020 at 07:14:17AM +, RAVEENDRA M via Linuxptp-users wrote: > pmc sometimes blocks Not really. > & in certain cases return two output for single query. So what? > 00a0a5.fffe.d44e80-1 seq 0 RESPONSE MANAGEMENT TIME_STATUS_NP > 001122.fffe.334466-1 seq 0 RESP

[Linuxptp-users] pmc query getting blocked.

2020-02-04 Thread RAVEENDRA M via Linuxptp-users
pmc sometimes blocks & in certain cases return two output for single query. [root@centos7 ~]# pmc -b 0 -2 -i eth1 'GET TIME_STATUS_NP' sending: GET TIME_STATUS_NP 00a0a5.fffe.d44e80-1 seq 0 RESPONSE MANAGEMENT TIME_STATUS_NP master_offset 0 ingr