1. 01 Dec, 2016 2 commits
  2. 21 Nov, 2016 1 commit
  3. 04 Nov, 2016 3 commits
  4. 25 Oct, 2016 2 commits
  5. 20 Sep, 2016 9 commits
  6. 16 May, 2016 7 commits
  7. 01 Sep, 2015 1 commit
  8. 21 Jul, 2015 1 commit
  9. 06 Jul, 2015 4 commits
  10. 13 Mar, 2015 1 commit
  11. 05 Dec, 2014 1 commit
    • Alessandro Rubini's avatar
      general: move buffers our of pp_instance, and make them smaller · d93b31c7
      Alessandro Rubini authored
      In order to fit all pp_instance items withing WRS shared memory,
      we need to make them a little smaller.  Thus, the tx and rx buffers
      are now allocated separately.  And, while I am at it, I make them
      smaller, because 128 bytes are more than enough for PTP with
      extensions (all frames are under 100 bytes). Given we are always
      showr of memory in wrpc-sw, this is benefical.
      
      As a side effect, clean up some out-of-memory exit paths, and fix a
      use-before-check buglet in arch-unix (no, we never go out of memory,
      but the check was wrong).
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      d93b31c7
  12. 13 Nov, 2014 1 commit
  13. 07 Nov, 2014 2 commits
  14. 07 Nov, 2013 1 commit
  15. 04 Nov, 2013 1 commit
    • Alessandro Rubini's avatar
      general: define CLASS names and rename a global structure · 5f1e3cb3
      Alessandro Rubini authored
      This defines PP_CLASS_SLAVE_ONLY and similar names, and uses them properly.
      
      Also, the global "struct default_rt_opts" was not following the
      conventions about naming, so rename it to be a "pp" thing.  Moreover,
      since we put all globals in ppg and we have ppg->rt_opts, try to use
      that instead of a separate global.  Unfortunately the initialization
      sequence is not well ordered, so __pp_default_rt_opts still remains
      as a global variable, double-underscored to show it's not meant to be used.
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      5f1e3cb3
  16. 15 Sep, 2013 1 commit
    • Alessandro Rubini's avatar
      servo: rename some functions (no technical effect) · dc5a6c4e
      Alessandro Rubini authored
      The servo implementation we brought forward from ptpd was strange
      and difficult to understand. This commit is the first step in trying
      to make some order, but it doesn't actually change anything but names.
      
      The entry points for the servo are now called pp_servo_init(),
      pp_servo_got_sync() and pp_servo_got_resp().  A two-step protocol
      calls got_sync after getting the follow-up message.
      
      Also, the hook for response messages is called handle_resp with a
      name similar to the hooks for sync and follow-up.
      
      The servo itself is not changed, but I reordered the functions so
      the calculations appear in the real order in which they happen.
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      dc5a6c4e
  17. 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
      expections:
      
      - 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>
      23033d8a
  18. 23 May, 2013 1 commit