[Linuxptp-devel] [PATCH 0/6] Adding peer-to-peer transparent clock

2017-08-03 Thread Rodney Greenstreet
The following patches originated from patches authored by Richard Cocharan. Unfortunately, I was unsuccessful in applying the original set of patches to the latest master branch. As a result, I generated a new set of patches after manually applying Richard’s patches. --

[Linuxptp-devel] [PATCH 3/6] This patch places the internal port data structure into a common header for use by the original BC and the new TC code.

2017-08-03 Thread Rodney Greenstreet
Signed-off-by: Richard Cochran port_private: Updated return type of variable dispatch routine to be void. Signed-off-by: Rodney Greenstreet --- port.c | 86 +-- port_private.h | 113 + 2 fi

[Linuxptp-devel] Adding peer-to-peer transparent clock

2017-08-03 Thread Rodney Greenstreet
The following set of patches originated from patches authored by Richard Cocharan. Unfortunately, I was unsuccessful in applying the original set of patches to the latest master branch. As a result, I generated a new set of patches after manually applied Richards patches.

[Linuxptp-devel] [PATCH 2/6] port: make the dispatch and event methods variable based on clock type.

2017-08-03 Thread Rodney Greenstreet
Signed-off-by: Richard Cochran --- port.c | 27 +++ 1 file changed, 27 insertions(+) diff --git a/port.c b/port.c index 34837cc..c8c4424 100644 --- a/port.c +++ b/port.c @@ -74,6 +74,10 @@ struct port { struct fdarray fda; int fault_fd; int phc_ind

[Linuxptp-devel] [PATCH 5/6] This patch adds code that sends an event messages received on one port out all the other ports and calculates the residence time. The correction, ingress port, and the ori

2017-08-03 Thread Rodney Greenstreet
Signed-off-by: Richard Cochran --- clock.c| 1 + makefile | 2 +- port.c | 3 + port.h | 5 ++ port_private.h | 9 ++ tc.c | 265 + tc.h | 36 7 files changed, 320 inserti

[Linuxptp-devel] [PATCH 1/6] This patch adds a new flag '-t' that enables transparent clock mode. When active, the clock will be created as an E2E or P2P TC, depending on the configured delay mechanis

2017-08-03 Thread Rodney Greenstreet
Signed-off-by: Richard Cochran --- ptp4l.c | 39 +++ 1 file changed, 35 insertions(+), 4 deletions(-) diff --git a/ptp4l.c b/ptp4l.c index f01ff6f..8a1dd4b 100644 --- a/ptp4l.c +++ b/ptp4l.c @@ -1,6 +1,6 @@ /** * @file ptp4l.c - * @brief PTP Boundary Clock

[Linuxptp-devel] [PATCH 4/6] This patch makes a number of subroutines into global functions in order to share code with the TC implementations to come.

2017-08-03 Thread Rodney Greenstreet
Signed-off-by: Richard Cochran --- port.c | 28 +--- port_private.h | 17 + 2 files changed, 30 insertions(+), 15 deletions(-) diff --git a/port.c b/port.c index c1d2f04..eba46a0 100644 --- a/port.c +++ b/port.c @@ -51,8 +51,6 @@ enum syfu_event {

[Linuxptp-devel] [PATCH 6/6] This patch implements a peer-to-peer transparent clock

2017-08-03 Thread Rodney Greenstreet
Signed-off-by: Richard Cochran p2p_tc: Updated return type of variable dispatch routine in to be void. Signed-off-by: Rodney Greenstreet --- clock.c| 2 +- makefile | 4 +- p2p_tc.c | 151 + port.c | 3 ++