[Linuxptp-devel] [PATCH V2 0/8] Transparent Clock - third and final part
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Richard C. <ric...@gm...> - 2018-04-21 05:22:31
|
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 |