When master and slave instance interacting with each other operating
at different interface speed, delay assymetry needs to be compensated
as described in G.8271 appendix V.
In this patch we are adding changes to get the interface speed using
ethtool.
v1: initial commit.
v2: updating comments and
Delay asymmetry calculation based on the PTP port interface speed of
master obtained from TLV and the slave interface rate obtained by ethtool.
The calculation is done in attoseconds to accomodate interface bit period
less than 1ns. (ITU-T G.8275.2(06/2021) annex D).
v4: removing bit period calcu
adding interface rate TLV as defined by ITU-T G.8275.2 Annex D to
enable master to communicate PTP port interface rate to slave.
Signed-off-by: Greg Armstrong
Signed-off-by: Leon Goldin
Signed-off-by: Devasish Dey
Signed-off-by: Vipin Sharma
v4: Updating comments for UInteger64 introduced in
Get the interface speed related information using ethtool and
convert interface speed to bit rate in attoseconds per bit.
v4: adding interface bit period in iface_if_info. This bit period
is updated during init time and whenever there are port events
like link up and down and speed updates
Get the interface speed related information using ethtool
Signed-off-by: Greg Armstrong
Signed-off-by: Leon Goldin
Signed-off-by: Devasish Dey
Signed-off-by: Vipin Sharma
---
clock.c | 2 ++
interface.c | 12
interface.h | 14 ++
port.c | 5 +
4 files c
adding interface rate TLV as defined by ITU-T G.8275.2 Annex D to
enable master to communicate PTP port interface rate to slave.
Signed-off-by: Greg Armstrong
Signed-off-by: Leon Goldin
Signed-off-by: Devasish Dey
Signed-off-by: Vipin Sharma
---
config.c | 1 +
pdt.h | 1 +
p
Delay asymmetry calculation based on the PTP port interface speed of
master obtained from TLV and the slave interface rate obtained by ethtool.
v3: updating network/host byte order handling.
v1: initial commit
Signed-off-by: Greg Armstrong
Signed-off-by: Leon Goldin
Signed-off-by: Devasish Dey
When master and slave instance interacting with each other operating
at different interface speed, delay assymetry needs to be compensated
as described in G.8271 appendix V.
In this patch we are adding changes to get the interface speed using
ethtool.
v1: initial commit.
v2: updating comments and
From: devasishsyncmonk
Delay asymmetry calculation based on the PTP port interface speed of
master obtained from TLV and the slave interface rate obtained by ethtool.
Signed-off-by: Greg Armstrong
Signed-off-by: Leon Goldin
Signed-off-by: Devasish Dey
Signed-off-by: Vipin Sharma
---
interfa
From: devasishsyncmonk
Get the interface speed related information using ethtool
Signed-off-by: Greg Armstrong
Signed-off-by: Leon Goldin
Signed-off-by: Devasish Dey
Signed-off-by: Vipin Sharma
---
clock.c | 2 ++
interface.c | 11 +++
interface.h | 14 ++
port.c
From: devasishsyncmonk
When master and slave instance interacting with each other operating
at different interface speed, delay assymetry needs to be compensated
as described in G.8271 appendix V.
In this patch we are adding changes to get the interface speed using
ethtool.
v1: initial commit.
From: devasishsyncmonk
adding interface rate TLV as defined by ITU-T G.8275.2 Annex D to
enable master to communicate PTP port interface rate to slave.
Signed-off-by: Greg Armstrong
Signed-off-by: Leon Goldin
Signed-off-by: Devasish Dey
Signed-off-by: Vipin Sharma
-v1: initial commit
-v2: m
The announce message from the External source is passed by virtual port
for BMCA participation so that it becomes a selection source
along with other ports for linuxPTP.
Signed-off-by: Greg Armstrong
Signed-off-by: Leon Goldin
Signed-off-by: Vipin Sharma
Signed-off-by: Devasish Dey
v2->v3:
-
0644
index 000..539c48f
--- /dev/null
+++ b/ts2phc_vport.c
@@ -0,0 +1,281 @@
+/**
+ * @file ts2phc_vport.c
+ * @note Copyright (C) 2022 SyncMonk Technologies
+ * @note SPDX-License-Identifier: GPL-2.0+
+ *
+ */
+#include
+#include
+
+#include "address.h"
+#include "ts2phc_vport.
Virtual PTP port is for unidirectional tranfer of phase/time interface
on a PTP clock.
When associated with an external input signal, a virtual PTP port allows
this external interface to participate in the PTP protocol.
As an input, this external port can participate in the source selection
with an
ote Copyright (C) 2022 SyncMonk Technologies
+ * @note SPDX-License-Identifier: GPL-2.0+
+ *
+ */
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+
+#include "address.h"
+#include "contain.h"
+#include "print.h"
+#include "t
When associated with an external input signal,
a virtual PTP port allows this external interface to participate
in the PTP protocol.
As an input, this external port can participate in the source selection
with an associated virtual Erbest using the associated virtual PTP port.
Signed-off-by: Greg
The announce message from the External source is passed by virtual port
for BMCA participation so that it becomes a selection source
along with other ports for linuxPTP.
Signed-off-by: Greg Armstrong
Signed-off-by: Leon Goldin
Signed-off-by: Vipin Sharma
Signed-off-by: Devasish Dey
v1->v2:
-
@@ -0,0 +1,282 @@
+/**
+ * @file ts2phc_vport.c
+ * @note Copyright (C) 2022 SyncMonk Technologies
+ * @note SPDX-License-Identifier: GPL-2.0+
+ *
+ */
+#include
+#include
+
+#include "address.h"
+#include "ts2phc_vport.h"
+#include "print.h"
+#include "port.h
@@
+/**
+ * @file ts2phc_vport.c
+ * @note Copyright (C) 2022 SyncMonk Technologies
+ * @note SPDX-License-Identifier: GPL-2.0+
+ *
+ */
+#include
+#include
+
+#include "address.h"
+#include "ts2phc_vport.h"
+#include "print.h"
+#include "port.h"
+#include "
Adding virtual port support to ptp4l
Signed-off-by: Greg Armstrong
Signed-off-by: Leon Goldin
Signed-off-by: Vipin Sharma
Signed-off-by: Devasish Dey
---
clock.c | 59 -
config.c| 2 ++
interface.c | 7 +++
interface.h | 6 +++
adding APTS to participate in BMCA
Passing the announce message for external source to ptp4l using virtual
port to avoid selection of master from PTP source.
Signed-off-by: Greg Armstrong
Signed-off-by: Leon Goldin
Signed-off-by: Vipin Sharma
Signed-off-by: Devasish Dey
---
ts2phc_phc_pps_so
designated_fsm.o \
diff --git a/vport.c b/vport.c
new file mode 100644
index 000..89d4105
--- /dev/null
+++ b/vport.c
@@ -0,0 +1,140 @@
+/**
+ * @file vport.c
+ * @note Copyright (C) 2022 SyncMonk Technologies
+ * @note SPDX-License-Identifier: GPL-2.0+
+ *
+ */
+#include
+#include
+#include
+#include
adding TLV support for PORT_PTSF_UNUSABLE
Signed-off-by: Greg Armstrong
Signed-off-by: Leon Goldin
Signed-off-by: Devasish Dey
Signed-off-by: Vipin Sharma
---
pmc.c| 6 ++
pmc_common.c | 23 +++
port.c | 23 +++
tlv.c| 12
- adding sync receipt timeout, delay response timeout and signal fail
support to portDS as per G.8275.2.
- This also sets the signal fail condition for timeout.
Signed-off-by: Greg Armstrong
Signed-off-by: Leon Goldin
Signed-off-by: Devasish Dey
Signed-off-by: Vipin Sharma
---
ds.h
adding TLV support for MID_PORT_PTSF_DATA_NP
Signed-off-by: Greg Armstrong
Signed-off-by: Leon Goldin
Signed-off-by: Devasish Dey
Signed-off-by: Vipin Sharma
---
pmc.c| 16
pmc_common.c | 1 +
port.c | 8
tlv.c| 11 +++
tlv.h|
adding alternate master support for linuxptp
A PTP Master Clock, which is not the Best Master,
may act as a master with the Alternate Master flag
set on the messages it sends.
Need to support Alternate Master, including using
Slave Event Monitoring channel for the
alternate connections (to pass al
Slave Event Monitoring channel for the alternate connections
Signed-off-by: Greg Armstrong
Signed-off-by: Leon Goldin
Signed-off-by: Devasish Dey
Signed-off-by: Vipin Sharma
---
monitor.c | 63 +++
monitor.h | 3 +++
pmc.c | 31
A PTP Master Clock, which is not the Best Master,
may act as a master with the Alternate Master flag
set on the messages it sends.
Need to support Alternate Master, including using
Slave Event Monitoring channel for the
alternate connections (to pass along timestamps to external servo).
See ITU-T G
A PTP Master Clock, which is not the Best Master,
may act as a master with the Alternate Master flag
set on the messages it sends.
Need to support Alternate Master, including using
Slave Event Monitoring channel for the
alternate connections (to pass along timestamps to external servo).
See ITU-T G
When master and slave instance interacting with each other operating
at different interface speed, delay assymetry needs to be compensated
as described in G.8271 appendix V.
In this patch we are adding changes to get the interface speed using
ethtool.
Signed-off-by: Greg Armstrong
Signed-off-by:
Delay asymmetry calculation based on the PTP port interface speed of
master obtained from TLV and the slave interface rate obtained by ethtool.
Signed-off-by: Greg Armstrong
Signed-off-by: Leon Goldin
Signed-off-by: Devasish Dey
Signed-off-by: Vipin Sharma
---
interface.c | 9 +
adding interface rate TLV as defined by ITU-T G.8275.2 Annex D to
enable master to communicate PTP port interface rate to slave.
Signed-off-by: Greg Armstrong
Signed-off-by: Leon Goldin
Signed-off-by: Devasish Dey
Signed-off-by: Vipin Sharma
---
clock.c | 7 +++
clock.h | 7 +++
c
Get the interface speed related information using ethtool
Signed-off-by: Greg Armstrong
Signed-off-by: Leon Goldin
Signed-off-by: Devasish Dey
Signed-off-by: Vipin Sharma
---
clock.c | 2 ++
interface.c | 11 +++
interface.h | 14 ++
port.c | 5 +
4 files ch
adding interface rate TLV as defined by ITU-T G.8275.2 Annex D to
enable master to communicate PTP port interface rate to slave.
Signed-off-by: Greg Armstrong
Signed-off-by: Leon Goldin
Signed-off-by: Devasish Dey
Signed-off-by: Vipin Sharma
---
clock.c | 7 +++
clock.h | 7 +++
c
Delay asymmetry calculation based on the PTP port interface speed of
master obtained from TLV and the slave interface rate obtained by ethtool.
Signed-off-by: Greg Armstrong
Signed-off-by: Leon Goldin
Signed-off-by: Devasish Dey
Signed-off-by: Vipin Sharma
---
interface.c | 9 +
When master and slave instance interacting with each other operating
at different interface speed, delay assymetry needs to be compensated
as described in G.8271 appendix V.
In this patch we are adding changes to get the interface speed using
ethtool.
Signed-off-by: Greg Armstrong
Signed-off-by:
Get the interface speed related information using ethtool
Signed-off-by: Greg Armstrong
Signed-off-by: Leon Goldin
Signed-off-by: Devasish Dey
Signed-off-by: Vipin Sharma
---
clock.c | 2 ++
interface.c | 11 +++
interface.h | 14 ++
port.c | 5 +
4 files ch
As per IEEE1588-2019, Table 21 adding NO_MECHANISM support. In this
case port does not implement the delay mechanism.
Signed-off-by: Greg Armstrong
Signed-off-by: Leon Goldin
Signed-off-by: Devasish Dey
Signed-off-by: Vipin Sharma
---
clock.c | 4 +++-
config.c | 1 +
dm.h
- adding organizational TLV support for interface rate
- delay asymmetry calculation for master and slave
Signed-off-by: Greg Armstrong
Signed-off-by: Leon Goldin
Signed-off-by: Devasish Dey
Signed-off-by: Vipin Sharma
---
clock.c | 12
clock.h | 14 ++
Signed-off-by: Greg Armstrong
Signed-off-by: Leon Goldin
Signed-off-by: Devasish Dey
Signed-off-by: Vipin Sharma
---
clock.c | 2 ++
interface.c | 11 +++
interface.h | 14 ++
port.c | 5 +
4 files changed, 32 insertions(+)
diff --git a/clock.c b/clock.c
ind
When master and slave instance interacting with each other operating
at different interface speed, delay assymetry needs to be compensated
as described in G.8271 appendix V.
In this patch we are adding changes to get the interface speed using
ethtool.
Signed-off-by: Greg Armstrong
Signed-off-by:
When master and slave instance interacting with each other operating
at different interface speed, delay assymetry needs to be compensated
as described in G.8271 appendix V.
In this patch we are adding changes to get the interface speed using
ethtool.
Signed-off-by: Greg Armstrong
Signed-off-by:
+ * @note Copyright (C) 2022 SyncMonk Technologies
+ * @note SPDX-License-Identifier: GPL-2.0+
+ *
+ */
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+
+#include "address.h"
+#include "contain.h"
+#include "print.h"
+#include &
When master and slave instance interacting with each other operating
at different interface speed, delay assymetry needs to be compensated
as described in G.8271 appendix V.
Signed-off-by: Greg Armstrong
Signed-off-by: Leon Goldin
Signed-off-by: Devasish Dey
Signed-off-by: Vipin Sharma
---
cl
As per IEEE1588-2019, Table 21 adding NO_MECHANISM support. In this
case port does not implement the delay mechanism.
Signed-off-by: Greg Armstrong
Signed-off-by: Leon Goldin
Signed-off-by: Devasish Dey
Signed-off-by: Vipin Sharma
---
clock.c | 4 +++-
config.c | 1 +
dm.h
As per IEEE1588-2019, Table 21 adding NO_MECHANISM support. In this
case port does not implement the delay mechanism.
Signed-off-by: Greg Armstrong
Signed-off-by: Leon Goldin
Signed-off-by: Devasish Dey
Signed-off-by: Vipin Sharma
---
clock.c | 4 +++-
config.c | 15
As per IEEE1588-2019, Table 21 adding NO_MECHANISM support. In this
case port does not implement the delay mechanism.
Signed-off-by: Greg Armstrong
Signed-off-by: Leon Goldin
Signed-off-by: Devasish Dey
Signed-off-by: Vipin Sharma
---
config.c | 16 +---
dm.h |
As per IEEE1588-2019, Table 21 adding NO_MECHANISM support. In this
case port does not implement the delay mechanism.
Signed-off-by: Greg Armstrong
Signed-off-by: Leon Goldin
Signed-off-by: Devasish Dey
Signed-off-by: Vipin Sharma
---
config.c | 16 +---
dm.h |
SyncMonk Technologies
+ * Also, for each author's protection and ours, we want to make certain that
+ * everyone understands that there is no warranty for this free software.
+ * If the software is modified by someone else and passed on, we want its
+ * recipients to know that what they have i
50 matches
Mail list logo