- 21 Sep, 2018 5 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>
-
baujc authored
-
Adam Wujek authored
-
- 02 Aug, 2018 2 commits
-
-
Adam Wujek authored
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com> abscal: simplify code related to CONFIG_ABSCAL Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
- 19 Apr, 2018 1 commit
-
-
Adam Wujek authored
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
- 12 Sep, 2017 1 commit
-
-
Sven Meier authored
kernel has two bugs regarding leap second handling: it need to have the leap second flags cleared twice before setting them and it doesn't clear the leap second flags after the leap second happened. A workaround was implemented accordingly.
-
- 11 Sep, 2017 1 commit
-
-
Sven Meier authored
-
- 04 Sep, 2017 1 commit
-
-
Adam Wujek authored
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
- 29 Aug, 2017 3 commits
-
-
Sven Meier authored
-
Sven Meier authored
-
Sven Meier authored
-
- 24 Aug, 2017 2 commits
-
-
Sven Meier authored
-
Sven Meier authored
Also in the loop for erbest the search was fixed if the first port which is elected as ebest by default is not valid.
-
- 15 Aug, 2017 1 commit
-
-
Sven Meier authored
Since the portnumber is a 16bit value, memcp is not given to be correct on all architectures depending on the endines
-
- 11 Aug, 2017 1 commit
-
-
Sven Meier authored
msg: reset ext_specific flags in the announce to zero when either no TLV is appended or the TLV is not a WR TLV The flags was not set to any value when no TLV was appended or a wrong TLV was appended, in that case the RAM content was wrongly propagated as WR flags which may caused that a node is going into a wrong state.
-
- 09 Aug, 2017 1 commit
-
-
Sven Meier authored
-
- 08 Aug, 2017 1 commit
-
-
Sven Meier authored
For the dataset comparisment all known foreign masters have to be qualified so the worst is found. Once aged out it will be removed so the qualification is not relevant in this check.
-
- 07 Aug, 2017 2 commits
-
-
Adam Wujek authored
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Sven Meier authored
The UTC leap flags are propagated to the system (unix) so the leap second is correctly handled at midnight so the UTC time is always correct.
-
- 04 Aug, 2017 1 commit
-
-
Sven Meier authored
the variance is now set according to the servo state, the source and timescale are set according to the clock classes set
-
- 03 Aug, 2017 2 commits
-
-
Sven Meier authored
Added clock accuracy constants and aligned the chaning of the clock class with the accuracy
-
Sven Meier authored
The clock class is now decreased and increased based on the servo state, this only has an effect for wrs and wrpc since the contain a servo loop.
-
- 01 Aug, 2017 2 commits
-
-
Adam Wujek authored
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
For links longer than ~13km, a value (uint32_t) returned from a function __div64_32 shifted by 16 bits overflowed, introducing PPS offset. Bug introduced in the commit: 35eef679 time: introduce a new unified data structure Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
- 31 Jul, 2017 1 commit
-
-
Adam Wujek authored
For whatever reason we perform a normalization on an incorrect timestamp, don't treat is as an negative value. Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
- 28 Jul, 2017 1 commit
-
-
Sven Meier authored
-
- 26 Jul, 2017 1 commit
-
-
Sven Meier authored
The clock class goes only to 6 if realy in gm mode, so not even passive The variance was changed back to 0x8000 until computed
-
- 24 Jul, 2017 1 commit
-
-
Sven Meier authored
We don't compute the variance so the default value shall be 0xFFFF
-
- 21 Jul, 2017 3 commits
-
-
Sven Meier authored
-
Sven Meier authored
-
Sven Meier authored
bmc & default dataset: Handle passive for loopbacke frames correctly, take Clockid only from MAC of Port1 The switsch was getting the Clockid for the default datset for each port which has a different MAC on each port, this is wrong, now the Clockid is always fetched only from Port1 for all other ports.
-
- 20 Jul, 2017 2 commits
-
-
Sven Meier authored
Leap seconds are now also fetched from the system in case we are a grandmaster A reset of the locking procedure was added so a locked switch can get master again
-
Sven Meier authored
The audit portings changed the timely behaviour of the ppsi which cause wrong behaviours, the timeout scheme was changed to only reset timeouts where needed and in all non PTP states. UTC offset is now fetched from the system where supported, link up/down is now considered in the BMC, also some state changes where cleaned up to be out of the BMC, e.g. state changes based on timeouts between PreMaster and Master or between Uncalibrated and Slave.
-
- 12 Jul, 2017 4 commits
-
-
Sven Meier authored
-
Sven Meier authored
Passive handling is actualy done differently, its integrated into the bmc as a precheck.
-
Sven Meier authored
Most of them were already ported, added a check before returning next delay if a timeout for a (p)delay request has to be taken into account
-
Sven Meier authored
Now everywhere the packet buffer is a void *buf and the lenght is int len
-