On Mon, May 18, 2020 at 07:58:47AM +, FUSTE Emmanuel wrote:
> Perhaps too late, and should have been raised on netdev but why ns
> granularity for phase adjustment ?
This comes from the traditional NTP timex interface.
> Talking about net device phc clock and phase adjustment I directly thin
On Mon, May 18, 2020 at 09:43:51AM +0200, Miroslav Lichvar wrote:
> On Sat, May 16, 2020 at 07:42:26AM -0700, Richard Cochran wrote:
> > Recently the Linux kernel's PTP Hardware Clock interface was expanded
> > to include a "write phase" mode where the clock servo in implemented
> > in hardware. T
Signed-off-by: Richard Cochran
---
tlv.c | 78 ++-
tlv.h | 28 ++---
2 files changed, 101 insertions(+), 5 deletions(-)
diff --git a/tlv.c b/tlv.c
index 0cf6d5c..e12e5ae 100644
--- a/tlv.c
+++ b/tlv.c
@@ -53,6 +53,20 @@ stat
After a successful message exchange, the delay measurement values are
processed by the port code. This patch makes the values available to a
monitor by calling the appropriate method.
Signed-off-by: Richard Cochran
---
port.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/port.c b/port.
The 2019 version of 1588 known as v2.1 introduces new TLV type and
management IDs. This patch adds the new definitions.
Signed-off-by: Richard Cochran
---
tlv.c | 28 ++--
tlv.h | 19 ++-
2 files changed, 44 insertions(+), 3 deletions(-)
diff --git a/tlv
The IEEE 1588 v2.1 standard introduces a new optional feature known as
slave event monitoring. This feature defines three new TLVs.
1. SLAVE_RX_SYNC_TIMING_DATA
This TLV provides the time stamps T1 and T2 from the message
exchange between master and slave.
2. SLAVE_TX_EVENT_TIMESTAMPS
Signed-off-by: Richard Cochran
---
clock.c | 13 +
clock.h | 8
2 files changed, 21 insertions(+)
diff --git a/clock.c b/clock.c
index a559cd4..f43cc2a 100644
--- a/clock.c
+++ b/clock.c
@@ -131,6 +131,7 @@ struct clock {
struct clockcheck *sanity_check;
str
The slave delay timing data TLV provides the delay time stamps along with
the associated correction field. This patch introduces a method to allow
publication of these values to a remote monitor.
Signed-off-by: Richard Cochran
---
monitor.c | 60 +
This patch adds a new module for slave event monitoring with its own
configuration option, a UDS address. If the option is enabled, then
the monitor will send events to the configured address. The default
setting produces an inactive monitor that does nothing.
Signed-off-by: Richard Cochran
---
Signed-off-by: Richard Cochran
---
tlv.c | 57 +
tlv.h | 20
2 files changed, 77 insertions(+)
diff --git a/tlv.c b/tlv.c
index e12e5ae..738e404 100644
--- a/tlv.c
+++ b/tlv.c
@@ -594,6 +594,55 @@ static void org_pre_se
Signed-off-by: Richard Cochran
---
pmc.c | 57 +
1 file changed, 57 insertions(+)
diff --git a/pmc.c b/pmc.c
index 490c140..8e30b1c 100644
--- a/pmc.c
+++ b/pmc.c
@@ -55,6 +55,59 @@ static char *bin2str(Octet *data, int len)
return
Signed-off-by: Richard Cochran
---
pmc.c | 29 +
1 file changed, 29 insertions(+)
diff --git a/pmc.c b/pmc.c
index 8e30b1c..65d1d61 100644
--- a/pmc.c
+++ b/pmc.c
@@ -58,6 +58,20 @@ static char *bin2str(Octet *data, int len)
#define SHOW_TIMESTAMP(ts) \
((uin
The monitoring module accepts Sync timing events. This patch hooks up the
port receive path to call into the monitor.
Signed-off-by: Richard Cochran
---
port.c | 22 +++---
port_private.h | 3 +++
2 files changed, 22 insertions(+), 3 deletions(-)
diff --git a/port.c b/
13 matches
Mail list logo