1. 25 Feb, 2019 1 commit
    • baujc's avatar
      Big update 2 · 515af578
      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
  2. 12 Jul, 2017 1 commit
  3. 05 Apr, 2017 1 commit
    • Alessandro Rubini's avatar
      general fix: implement SYNCHRONIZATION_FAULT · a438acc9
      Alessandro Rubini authored
      If we stopped sending to the master or the peer (for traffic or
      whatever; in my case with "fault drop"), we wouldn't notice the
      This looks like SYNCHRONIZATION_FAULT (, so this reuses the
      almost-unused TO_FAULTY, renaming it to a more generic TO_FAULT.
    says we should reach uncalibrated, but since uncalibrated doesn't
      exits (it is never entered, it's dead and untested code at this point),
      I handle the problem just like the timeout receiving announce messages.
      For wr, I reset the servo, so the problem can be seen.
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
  4. 16 May, 2016 3 commits
  5. 07 Nov, 2014 2 commits
  6. 16 Oct, 2013 1 commit
    • Alessandro Rubini's avatar
      bugfix: state-fault must delay a while before reinitializing ppi · 8bd9b76e
      Alessandro Rubini authored
      This is a long-standing bug introduced when fsm.c was changed to
      immediately enter a new state (before that, we had a grace period in
      state-faulty).  The problem is exposed by running the suggested
      config file, if eth1 and/or eth2 exist but are currently down.
      This patch introduces a specific timeout, so we wait 4 seconds before
      reinitializing the pp instance; we thus avoid burning 100% CPU Time in
      trying again and again.
      As a side effect, this reduces timeouts provided to extensions from 4
      to 3. I could have reused one of the other timeouts, as faulty state
      does not use them, but I'd better have proper timeout names in
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
  7. 31 Jul, 2013 1 commit
    • Alessandro Rubini's avatar
      general: rephrase copyright notices (no tech effect) · 23033d8a
      Alessandro Rubini authored
      This changes all "Name Surname for CERN" to "Copyright CERN, author
      Name Surname".  This is trivial and makes no change, with a few
      - all trivial Makefiles that had "for CERN" lines have now no
      attributions, as they are trivial anyways.
      - a few unrepresented files have not the copyright notice (especially
      ptpdump, that I wrote in 2012).
      - a few "for CERN" remain in subprojects, where I didn't touch anyrhing
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
  8. 23 Apr, 2013 1 commit
  9. 08 Mar, 2013 1 commit
  10. 07 Mar, 2013 1 commit
  11. 05 Mar, 2013 1 commit
  12. 11 Jan, 2013 1 commit
  13. 12 Jul, 2012 1 commit
  14. 28 Mar, 2012 1 commit
    • Alessandro Rubini's avatar
      Rename PPTP to PPSi · 600a052f
      Alessandro Rubini authored
      This is a major patch, because header files are renamed, and
      the header directory with them. Still, no functional change is there.
  15. 22 Jan, 2012 1 commit
  16. 10 Jan, 2012 1 commit
  17. 09 Jan, 2012 1 commit
  18. 03 Jan, 2012 1 commit
  19. 28 Dec, 2011 2 commits
  20. 05 Dec, 2011 1 commit
    • Aurelio Colosimo's avatar
      code fromt ptp-proposal version 56d97349 · 2801106b
      Aurelio Colosimo authored
      code was pruned from specific "ptp-proposal" protocol and the
      skeleton of IEEE-1588 states was made. Next step is to insert,
      step by step, the structs defined in ptpd. Still something needs
      to be removed or renamed, but this should be a fair starting point.