Re: [Linuxptp-devel] [PATCH] Sync issues observed when ptp4l is ran with jbod and client only mode (clientOnly=1 and boundary_clock_jbod=1)

2021-05-20 Thread Amar Subramanyam via Linuxptp-devel
evel] [PATCH] Sync issues observed when ptp4l is ran > with jbod and client only mode (clientOnly=1 and boundary_clock_jbod=1) > > CAUTION: This email originated from outside of Altiostar. Do not click on > links > or open attachments unless you recognize the sender and you are sur

Re: [Linuxptp-devel] [PATCH] Sync issues observed when ptp4l is ran with jbod and client only mode (clientOnly=1 and boundary_clock_jbod=1)

2021-05-20 Thread Miroslav Lichvar
On Mon, May 17, 2021 at 10:02:59AM +0300, Amar Subramanyam via Linuxptp-devel wrote: > This patch addresses the following issues when ptp4l is run on multiple ports > with jbod and client only mode (i.e. clientOnly=1 and boundary_clock_jbod=1):- > > 1.The LISTENING port prints continuously

[Linuxptp-devel] [PATCH] Sync issues observed when ptp4l is ran with jbod and client only mode (clientOnly=1 and boundary_clock_jbod=1)

2021-05-17 Thread Amar Subramanyam via Linuxptp-devel
This patch addresses the following issues when ptp4l is run on multiple ports with jbod and client only mode (i.e. clientOnly=1 and boundary_clock_jbod=1):- 1.The LISTENING port prints continuously "selected best master clock 00..03 updating UTC offset to 37"

Re: [Linuxptp-devel] [PATCH] Sync issues observed when ptp4l is ran with jbod and client only mode (clientOnly=1 and boundary_clock_jbod=1)

2021-05-12 Thread Richard Cochran
On Wed, May 12, 2021 at 10:28:34AM +0200, Miroslav Lichvar wrote: > I think the fix should be one of the following: > - disable clock check in jbod mode (it cannot work reliably as it is) > - limit the check to timestamps from the synchronized port This sounds like the best choice to me. > - have

Re: [Linuxptp-devel] [PATCH] Sync issues observed when ptp4l is ran with jbod and client only mode (clientOnly=1 and boundary_clock_jbod=1)

2021-05-12 Thread Richard Cochran
On Wed, May 12, 2021 at 10:57:24AM +, Amar Subramanyam wrote: > Should we rate limit log (a) as it will be printed whenever BMCA is triggered > and avoid log (b) when boundary_clock_jbod=1 and clientOnly=1 Sounds reasonable to me. Thanks, Richard __

Re: [Linuxptp-devel] [PATCH] Sync issues observed when ptp4l is ran with jbod and client only mode (clientOnly=1 and boundary_clock_jbod=1)

2021-05-12 Thread Amar Subramanyam via Linuxptp-devel
: Re: [Linuxptp-devel] [PATCH] Sync issues observed when ptp4l is ran with jbod and client only mode (clientOnly=1 and boundary_clock_jbod=1) CAUTION: This email originated from outside of Altiostar. Do not click on links or open attachments unless you recognize the sender and you are sure the

Re: [Linuxptp-devel] [PATCH] Sync issues observed when ptp4l is ran with jbod and client only mode (clientOnly=1 and boundary_clock_jbod=1)

2021-05-12 Thread Miroslav Lichvar
On Tue, May 11, 2021 at 02:16:04PM +, Amar Subramanyam wrote: > What happens here exactly is, due to the continuous triggering of BMCA, the > value of mono_interval (the interval between two successive calls of > clock_check_sample ()) gets increased and SYNCRONIZATION FAULT occurs with > t

Re: [Linuxptp-devel] [PATCH] Sync issues observed when ptp4l is ran with jbod and client only mode (clientOnly=1 and boundary_clock_jbod=1)

2021-05-12 Thread Amar Subramanyam via Linuxptp-devel
Subject: Re: [Linuxptp-devel] [PATCH] Sync issues observed when ptp4l is ran with jbod and client only mode (clientOnly=1 and boundary_clock_jbod=1) CAUTION: This email originated from outside of Altiostar. Do not click on links or open attachments unless you recognize the sender and you are sure the

Re: [Linuxptp-devel] [PATCH] Sync issues observed when ptp4l is ran with jbod and client only mode (clientOnly=1 and boundary_clock_jbod=1)

2021-05-11 Thread Richard Cochran
On Tue, May 11, 2021 at 02:16:04PM +, Amar Subramanyam via Linuxptp-devel wrote: > What happens here exactly is, due to the continuous triggering of > BMCA, the value of mono_interval (the interval between two > successive calls of clock_check_sample ()) gets increased and > SYNCRONIZATION FA

Re: [Linuxptp-devel] [PATCH] Sync issues observed when ptp4l is ran with jbod and client only mode (clientOnly=1 and boundary_clock_jbod=1)

2021-05-11 Thread Ramana Reddy via Linuxptp-devel
esas.com] Sent: 07 May 2021 19:30 To: Amar Subramanyam; Miroslav Lichvar Cc: linuxptp-devel@lists.sourceforge.net Subject: Re: [Linuxptp-devel] [PATCH] Sync issues observed when ptp4l is ran with jbod and client only mode (clientOnly=1 and boundary_clock_jbod=1) CAUTION: This email originated

Re: [Linuxptp-devel] [PATCH] Sync issues observed when ptp4l is ran with jbod and client only mode (clientOnly=1 and boundary_clock_jbod=1)

2021-05-11 Thread Amar Subramanyam via Linuxptp-devel
Valoor Subject: Re: [Linuxptp-devel] [PATCH] Sync issues observed when ptp4l is ran with jbod and client only mode (clientOnly=1 and boundary_clock_jbod=1) CAUTION: This email originated from outside of Altiostar. Do not click on links or open attachments unless you recognize the sender and you are

Re: [Linuxptp-devel] [PATCH] Sync issues observed when ptp4l is ran with jbod and client only mode (clientOnly=1 and boundary_clock_jbod=1)

2021-05-10 Thread Greg Armstrong
ync issues observed when ptp4l is ran with jbod and client only mode (clientOnly=1 and boundary_clock_jbod=1) On Fri, May 07, 2021 at 02:27:46PM +, Greg Armstrong wrote: > Just to add, the key reason it is not supported by BC is that if true, then > clockClass must be 255. This clockClass i

Re: [Linuxptp-devel] [PATCH] Sync issues observed when ptp4l is ran with jbod and client only mode (clientOnly=1 and boundary_clock_jbod=1)

2021-05-10 Thread Miroslav Lichvar
On Fri, May 07, 2021 at 02:27:46PM +, Greg Armstrong wrote: > Just to add, the key reason it is not supported by BC is that if true, then > clockClass must be 255. This clockClass is only for slave-only OC. > > From IEEE1588-2019 clause 8.2.1.3.1.2: > If defaultDS.slaveOnly is TRUE, the

Re: [Linuxptp-devel] [PATCH] Sync issues observed when ptp4l is ran with jbod and client only mode (clientOnly=1 and boundary_clock_jbod=1)

2021-05-10 Thread Miroslav Lichvar
On Fri, May 07, 2021 at 11:37:06AM +, Amar Subramanyam wrote: > Continuous BMCA triggering in port 2 causes a SYNCHRONIZATION FAULT in > port1.This causes port1 to jump from SLAVE to UNCALIBRATED and vice versa > repeatedly. I'm sorry if I sound like a broken record, but what exactly is the

Re: [Linuxptp-devel] [PATCH] Sync issues observed when ptp4l is ran with jbod and client only mode (clientOnly=1 and boundary_clock_jbod=1)

2021-05-07 Thread Greg Armstrong
2021 10:00 AM To: Amar Subramanyam ; Miroslav Lichvar Cc: linuxptp-devel@lists.sourceforge.net Subject: RE: [Linuxptp-devel] [PATCH] Sync issues observed when ptp4l is ran with jbod and client only mode (clientOnly=1 and boundary_clock_jbod=1) One possible issue is you are setting clientOnly=1 f

Re: [Linuxptp-devel] [PATCH] Sync issues observed when ptp4l is ran with jbod and client only mode (clientOnly=1 and boundary_clock_jbod=1)

2021-05-07 Thread Greg Armstrong
Re: [Linuxptp-devel] [PATCH] Sync issues observed when ptp4l is ran with jbod and client only mode (clientOnly=1 and boundary_clock_jbod=1) Hi Miroslav, Please find our response in line. Thanks, Amar B S -Original Message- From: Miroslav Lichvar [mailto:mlich...@redhat.com] Sent: 06

Re: [Linuxptp-devel] [PATCH] Sync issues observed when ptp4l is ran with jbod and client only mode (clientOnly=1 and boundary_clock_jbod=1)

2021-05-07 Thread Amar Subramanyam via Linuxptp-devel
ptp4l is ran with jbod and client only mode (clientOnly=1 and boundary_clock_jbod=1) CAUTION: This email originated from outside of Altiostar. Do not click on links or open attachments unless you recognize the sender and you are sure the content is safe. You will never be asked to reset your

Re: [Linuxptp-devel] [PATCH] Sync issues observed when ptp4l is ran with jbod and client only mode (clientOnly=1 and boundary_clock_jbod=1)

2021-05-06 Thread Miroslav Lichvar
On Tue, May 04, 2021 at 01:51:24PM +0300, Amar Subramanyam via Linuxptp-devel wrote: > This patch addresses the following issues when ptp4l is ran on multiple ports > with jbod and client only mode (i.e clientOnly=1 and boundary_clock_jbod=1):- > > 1.SYNCHRONIZATION FAULT occurs at every ANNOUNCE

Re: [Linuxptp-devel] [PATCH] Sync issues observed when ptp4l is ran with jbod and client only mode (clientOnly=1 and boundary_clock_jbod=1)

2021-05-04 Thread Amar Subramanyam via Linuxptp-devel
Hi, The commands we used for testing below issues are: For 8275.1 profile: ptp4l -f config_ptp_8275_1.conf -i sriov1 -i sriov0 -H -m 2 --boundary_clock=1 --slaveOnly=1 phc2sys -a -r -m -R 16 -n 24 For 8275.2 profile: ptp4l -f config_ptp_8275_2.conf -i sriov1 -i sriov0 -H -m 4 --boundary_cloc

[Linuxptp-devel] [PATCH] Sync issues observed when ptp4l is ran with jbod and client only mode (clientOnly=1 and boundary_clock_jbod=1)

2021-05-04 Thread Amar Subramanyam via Linuxptp-devel
This patch addresses the following issues when ptp4l is ran on multiple ports with jbod and client only mode (i.e clientOnly=1 and boundary_clock_jbod=1):- 1.SYNCHRONIZATION FAULT occurs at every ANNOUNCE RECEIPT Timeout on LISTENING port, which leads to PTP port state of SLAVE port to flap betw