- 02 May, 2019 2 commits
-
-
baujc authored
This is a temporary implementation that will be reviewed when the PPSi live configuration will be implemented.
-
[ACC] Jean-Claude BAU authored
-
- 30 Apr, 2019 1 commit
-
-
baujc authored
-
- 10 Apr, 2019 5 commits
-
-
Adam Wujek authored
add monitor variable to struct hal_port_state Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
baujc authored
-
baujc authored
Will be reintroduced later with HA profile.
-
baujc authored
- Code optimization for size - HA is not compiled ( only PTP & WR ) - ...
-
- 09 Apr, 2019 20 commits
-
-
baujc authored
See commit 'Simplify WRS calibration functions' below
-
baujc authored
-
baujc authored
- Has Hal is no longer used for ingress/egress latencies, we must then take them from the configuration file - Definition used by the common servo (WR & HA) - Implementation of the IDLE state See previous commit 'Review of WR protocol implementation'
-
baujc authored
See commit 'Simplify WRS calibration functions' below
-
baujc authored
-
baujc authored
It has been improvement to make it works with WR extension but the final mechanism has to be improved to make it more simple.
-
baujc authored
As WR extension share now the same servo than L1Sync extension, the only service required from HAL is the value of the bit-slide. Then a simplification can be done by removing some functions and some obsolete function parameters
-
baujc authored
-
baujc authored
This tool is used to follow the value of a monotonic clock to check if it does not does big jumps. This jumps may affect the precision of the timeout in PPSi. They can occur when the nanosecond adjustement is done in the servo (WR & HA profiles).
-
baujc authored
-
baujc authored
In WR extension, the egress and ingress latencies are already included in the exchanged deltas (TX/RX). This modification allows for an extension to remove the egress/ingress latencies from the calculation of the RX and TX timestamps. This feature is used in the WR extension.
-
baujc authored
Force to stay in UNCALIBRATED state if externalPortConfigurationEnabled is set to true and desiredState to UNCALIBRATED.
-
baujc authored
-
baujc authored
-
baujc authored
- When the number of bit used for the calculation was smaller than 16, the result of the calculation was 0.
-
baujc authored
- Take into account the rounding in time conversion - New implementation of pp_time_hardwarize
-
baujc authored
-
baujc authored
- Add extra parameters in unpack_announce and run_ext_state_machine callbacks
-
baujc authored
- Removed master_msg, s1, execute slave
-
baujc authored
- It has now its own state table - The servo is shared with L1Sync extension. It means that servo calculation is now following the new standard IEEE 1588 - It stay compatible with older versions of the switch. The correction field value in the exchange messages are still not compliant with the standard to keep the compatibility.
-
- 29 Mar, 2019 1 commit
-
-
baujc authored
- For WR extension, we keep the old way to stay compliant with previous version of WR - The changes are applied to HA extension and compliant now with the IEEE standard (delayAsymmetry sent in the CField of [P]DelayReq msg, ...)
-
- 05 Mar, 2019 1 commit
-
-
baujc authored
After reviewing the code with Maciej, this time-out does not seem to be used in a very coherent way. We decided then to remove it.
-
- 01 Mar, 2019 1 commit
-
-
baujc authored
- Make externalPortConfiguration compliant with the PTP specifications - Optimize code for externalPortConfiguration - Optimize code for slaveOnly - Replace "CONFIG_HAS_P2P && ppi->delayMechanism==P2P" by an inline function
-
- 26 Feb, 2019 1 commit
-
-
baujc authored
-
- 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
-
- 06 Feb, 2019 1 commit
-
-
baujc authored
Risk of overflow in some cases.
-
- 01 Feb, 2019 1 commit
-
-
baujc authored
offsetFromMaster and meanDelay are updated in currentDS only when a PPSi instance is SLAVE.
-
- 29 Jan, 2019 3 commits
-
-
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()
-
baujc authored
The custom profile is usefull for the White Rabbit switch integration tests. It is now possible to remove it for other targets where the memory space is critical (nodes)
-
baujc authored
When /etc/init.d/ppsi.sh is called with the parameter 'restart', it happens sometimes that the restarted PPSI process detects that another one is running but it is not really the case. To sove this problem, the PPSI process is now checking few times with a delay in between before to decide to exit.
-
- 28 Jan, 2019 1 commit
-
-
baujc authored
When a jitter greater than 20ms is observed with peer, the seconds are never adjusted. The solution is then to adjust first the seconds.
-
- 25 Jan, 2019 1 commit
-
-
baujc authored
Instead of restarting a timer on each retry, the timer is initialized only once when we enter in the state. It helps to respect the time spent in a given state before to skip it due to the time-out.
-