This series add support for running a TC over multiple ports.
This applies on top of my recently posted telecom series.

Comments, testing, and review are most welcome.

Changed in V2:
~~~~~~~~~~~~~~

- Detect and drop frames that arrive with time stamps.

- Add an option to enforce a spanning tree to avoid PTP message loops. 

- Set priority1 really low in the example TC configuration files


Thanks,
Richard


Richard Cochran (8):
  port: Share another helper function.
  tc: Add the transparent clock implementation.
  p2p_tc: Implement a peer to peer transparent clock.
  e2e_tc: Implement an end to end transparent clock.
  config: Add a configuration option for TC mode.
  config: Add a configuration option for preventing loops in TC mode.
  Add an example configuration for a peer to peer transparent clock.
  Add an example configuration for an end to end transparent clock.

 E2E-TC.cfg     |  92 +++++++++++
 P2P-TC.cfg     |  92 +++++++++++
 clock.c        |   5 +-
 config.c       |  11 ++
 default.cfg    |   2 +
 e2e_tc.c       | 198 +++++++++++++++++++++++
 gPTP.cfg       |   1 +
 makefile       |   6 +-
 p2p_tc.c       | 218 ++++++++++++++++++++++++++
 port.c         |  20 ++-
 port.h         |   5 +
 port_private.h |  17 ++
 ptp4l.8        |  21 ++-
 ptp4l.c        |  44 +++++-
 tc.c           | 486 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 tc.h           |  94 +++++++++++
 16 files changed, 1299 insertions(+), 13 deletions(-)
 create mode 100644 E2E-TC.cfg
 create mode 100644 P2P-TC.cfg
 create mode 100644 e2e_tc.c
 create mode 100644 p2p_tc.c
 create mode 100644 tc.c
 create mode 100644 tc.h

-- 
2.11.0


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to