- 25 Mar, 2020 1 commit
-
-
Jean-Claude BAU authored
This calculation is done using the timestamps but without any correction.
-
- 04 Mar, 2020 1 commit
-
-
Jean-Claude BAU authored
-
- 24 Feb, 2020 1 commit
-
-
Jean-Claude BAU authored
-
- 08 Jan, 2020 1 commit
-
-
Jean-Claude BAU authored
The 2 octets were displayed as as int16 so they can be swapped depending of the architecture.
-
- 20 Nov, 2019 1 commit
-
-
Jean-Claude BAU authored
-
- 11 Nov, 2019 1 commit
-
-
Jean-Claude BAU authored
This field is used to store the active peer connected to an instance. In wr_mon tool, it replaces the field peer on the display which was not very explicit when many peers are connected on the same port. The field activePeer takes the value of peer field in the following cases : MASTER UNCALIBRATED/SLAVE P2P Rx PDELAY_RESP Rx qualified ANNOUNCE (Filtered) E2E DELAY_RESP Rx qualified ANNOUNCE In other cases, the activePeer field is set to 0
-
- 11 Oct, 2019 1 commit
-
-
Jean-Claude BAU authored
-
- 05 Jun, 2019 1 commit
-
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- 27 May, 2019 1 commit
-
-
Jean-Claude BAU authored
The WR time is set in GM mode as follow : 1/ At startup the NTP time is set using wr_date script 2/ PPSi calls the tool wr_date with parameters "set host". It will be called every time it detects a PLL transition from UNLOCKED to LOCKED state. Also PPSi provide a error counter 'gmUnlockErr' which gives the number of time the PLL unlocked. 3/ Parameters "-v set host" in wr_date tool, set only the second part of the WR time. The time is set in a middle of two WR seconds ticks.
-
- 15 May, 2019 1 commit
-
-
Jean-Claude BAU authored
- Change the Quality structure to make it compliant with the standard - Fix network to host conversion to display offsetScaledLogVariance
-
- 09 Apr, 2019 2 commits
- 25 Feb, 2019 1 commit
-
-
baujc authored
. Better integrate of code optimization with PPSi Kconfig . PPSi Kconfig changes to simplify the code in PPSi and avoid #ifdef .. . Improve code optimization . Move some declaration in ppsi.h in other files to ligthen ppsi.h . Improvement of timers: global or instance dependent, dyn. allocation, renaming for better diagnostics, disabling allowed, ... . New behaviour for the PPS output generation (configurable,...) . Move control of the timing mode from HAL to PPSi . Optimization of code when a Protocol extension is not available . BMCA: Calculate the ebest,... only one time and then trigger all instances to execute the bmca state descision . Fix bug in the calculation of the clockIdentity to bring it into compliance with PTP spec 2008 document . Fix a bug related to Announce message received in SLAVE/UNCALIB . WR ext: use dynamic timer and adapt to new PPS generation . HA ext: Fix bug in fault injection mechanism
-
- 29 Jan, 2019 1 commit
-
-
baujc authored
- New L1Sync and PTP servo calculation (delayAsym,...) - Make function calls more uniforms between extensions - refactoring - Add a new state machine to enable/disable an extension and provide only PTP support: New timer, new hooks, ... - Fix bug in time format conversion - Code removed when an extension is not required (#ifdef XXX ) - Align the PTP and L1Sync servo calculation (shared fct, same calculation,...) - Force only one servo running at a given time for a given instance - New servo reset hook : called by main loop - Add function to converte a time into a string - Force to stay in FAULTY state during 60s - Optimise function wrs_enable_timing_output()
-
- 03 Dec, 2018 1 commit
-
-
Jean-Claude BAU authored
- Update of portDs.meanLinkDelay for P2P mechanism - Fix issue updating currentDS.meanDelay
-
- 28 Nov, 2018 1 commit
-
-
Jean-Claude BAU authored
When the extension L1SYNC is not available (no data), the value of L1SyncEnable and L1SyncState are emulated and displayed. Some VERYX tests need these information also when L1SYNC is disabled.
-
- 27 Nov, 2018 1 commit
-
-
Jean-Claude BAU authored
- When optParamsEnabled is set, the TLV send need to be extended with extra values. Fix here the length of the TLV and the whole message. - Fix print issue of the signaling TLV
-
- 21 Nov, 2018 8 commits
-
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Jean-Claude BAU authored
When received frames are displayed (diagnostic mode), PPSI was staying forever in a loop due to unexpected TLV received in the frame.
-
Adam Wujek authored
based on jcb's commit from wrs Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Jean-Claude BAU authored
This implementation does not include yet the possibility to declare 2 exclusive instances on a same port (WR & HA) - Some structures are renamed with the suffix _t to make it more readable. - Some variables are renamed to be more clear - Implementation of masterOnly, slaveOnly and externalPortConfiguration - All extension specific includes (XX-api.h) is now automatically included in ppsi.h and do not need to be included in other files.
-
Jean-Claude BAU authored
- New parameters added - Parameter check with min/max values - Updated fied mask suppressed: At startup the conf structure in each ppsi instance must be initialized with the default values.
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- 20 Nov, 2018 3 commits
-
-
Jean-Claude BAU authored
This implementation works on a WR Switch but does not yet integrate all required functionalities. List of current modifications : - Implementation of the L1SYNC protocol - Modifications of the standard protocol: new hook, TS calculation - Change WRS to integrate HA - HAL adaptations - ...
-
Adam Wujek authored
related to BUG: 1544 and 1810 Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
It requires that ppsi stores port_ds and wr_port_ds in the shmem Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- 21 Sep, 2018 3 commits
-
-
Adam Wujek authored
Compilation of wrs_dump_shmem_ppsi.c is done from the wr-switch-sw repo since it needs wrs_dump_shmem.h, which is in wr-switch-sw repo. I wanted to avoid keeping two copies of .h file. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Disect WR frames in ptpdump and during printing debug info in PPSi. Current implementation prints deltaTX and deltaRx in hex not in decimal. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
This commit fixes dumping PTP packets in ptpdump and PPSi (via -d 002) Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- 03 Mar, 2017 1 commit
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- 31 Jan, 2017 2 commits
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Commit only build for arch-unix (and no tools either) This simplifies a lot the calculations. - all times are now living in a single structure - all fields are signed and 64-bit long - the 2038 bug is over (we still had 32-bit seconds) - no overflow in math or unexplained "unsigned" appearing Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- 13 Jan, 2017 1 commit
-
-
Alessandro Rubini authored
Building with musl was spitting errors for redefined data structures. Use the standard headers when available (I found not alternatives to linux/if_packet.h, but it spits no error). Then, ifr.ifr_data is "caddr_t" not "void *" in musl, so cast the pointer being assigned to silent a warning. Finally, the fields of udphdr in musl use different names unless wi add _GNU_SOURCE -- most likely musl is more posixly-correct, I didn't check. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- 12 Dec, 2016 1 commit
-
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- 07 Dec, 2016 1 commit
-
-
Adam Wujek authored
--Add a new function dump_vlan to print vlan number --To be able to read aux data use recvmsg instead of recvfrom --For incoming data use aux to read VLAN number --For outgoing use VLAN header Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- 20 Sep, 2016 1 commit
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- 30 May, 2016 1 commit
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- 06 Jul, 2015 1 commit
-
-
Alessandro Rubini authored
While looking for an alignment bug I had bad frames: being able to look at the binary content of all ptp-ethtype frames (or ip/udp/ptp) is very useful in that situation. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-