[Linuxptp-devel] [v2] lstab: update expiration to 28 December 2021

2021-07-26 Thread Yangbo Lu
Bring the built in leap second table up to date through IERS Bulletin C62. No new leap seconds have been scheduled for this year. Signed-off-by: Yangbo Lu --- Changes for v2: - Corrected to "C62" in commit message. --- lstab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletio

[Linuxptp-devel] [PATCH] lstab: update expiration to 28 December 2021

2021-06-28 Thread Yangbo Lu
Bring the built in leap second table up to date through IERS Bulletin C59. No new leap seconds have been scheduled for this year. Signed-off-by: Yangbo Lu --- lstab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lstab.c b/lstab.c index e6e7ad2..3bd920e 100644 --- a

[Linuxptp-devel] [v4] Bump to IEEE 1588-2019 version

2021-03-01 Thread Yangbo Lu
regardless. Signed-off-by: Yangbo Lu --- Changes for v2: - Made v2.1 as macros. Changes for v3: - Fixed pmc versionNumber printing issue. Changes for v4: - kept using only major version in TLVs per 2019 standard. --- msg.c | 5 + msg.h | 9

[Linuxptp-devel] [v3] Bump to IEEE 1588-2019 version

2021-02-28 Thread Yangbo Lu
v2.x are all backward compatible. Signed-off-by: Yangbo Lu --- msg.c | 5 + msg.h | 9 +++-- pmc.c | 6 -- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/msg.c b/msg.c index d1619d4..c4516ad 100644 --- a/msg.c +++ b/msg.c @@ -27,9 +27,6 @@ #include "pr

[Linuxptp-devel] [v2] msg: bump to IEEE 1588-2019 version

2021-02-24 Thread Yangbo Lu
v2.x are all backward compatible. Signed-off-by: Yangbo Lu --- Changes for v2: - Made v2.1 as macros. --- msg.c | 5 + msg.h | 9 +++-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/msg.c b/msg.c index d1619d4..c4516ad 100644 --- a/msg.c +++ b/msg.c @@ -27,9 +27,6

[Linuxptp-devel] [PATCH] ptp4l: version preparation for IEEE 1588-2019

2021-02-19 Thread Yangbo Lu
27;t added the minorVersionNumber in portDS making this as a TODO thing. Signed-off-by: Yangbo Lu --- config.c| 2 ++ configs/default.cfg | 2 ++ msg.c | 5 + msg.h | 5 +++-- port.c | 23 +-- port_private.h

[Linuxptp-devel] [RFC V3, 2/4] Add BMCA support for IEEE 802.1AS-2011

2020-03-23 Thread Yangbo Lu
Hons Signed-off-by: Rodney Greenstreet Signed-off-by: Yangbo Lu --- Changes for v3: - Added this patch. --- fsm.c | 13 + fsm.h | 10 ++ port.c | 57 +++-- 3 files changed, 62 insertions(+), 18 deletions(-) diff

[Linuxptp-devel] [RFC V3, 3/4] port: drop erroneous neighbor rate ratio

2020-03-23 Thread Yangbo Lu
+/- 100 ppm, as required by IEEE 802.1AS-2011 Anex B.1.1. This patch is to check and drop erroneous neighbor rate ratio to ensure IEEE 802.1AS-2011 Anex B.1.1. Signed-off-by: Rodney Greenstreet Signed-off-by: Yangbo Lu --- Changes for v3: - Added this patch. --- port.c | 13 - 1

[Linuxptp-devel] [RFC V3, 4/4] clock: redecide state if get EV_FAULT_DETECTED event

2020-03-23 Thread Yangbo Lu
gging isn't a requirement. This patch is to invoke BMCA to redecide state if get EV_FAULT_DETECTED event. Signed-off-by: Rodney Greenstreet Signed-off-by: Yangbo Lu --- Changes for v3: - Added this patch. --- clock.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/clock.c b/clo

[Linuxptp-devel] [RFC V3, 1/4] Add IEEE 802.1AS-2011 time-aware bridge support

2020-03-23 Thread Yangbo Lu
, - Create syfu_relay_info structure for time information relay. - Implement port_syfu_relay_info_insert() to update follow_up (with TLV) message with time information for relay. Signed-off-by: Yangbo Lu --- Changes for v2: - Implemented based on BC instead of TC. Changes for v3

[Linuxptp-devel] [RFC V3, 0/4] Add IEEE 802.1AS-2011 time-aware bridge support

2020-03-23 Thread Yangbo Lu
rop erroneous neighbor rate ratio clock: redecide state if get EV_FAULT_DETECTED event Yangbo Lu (2): Add IEEE 802.1AS-2011 time-aware bridge support Add BMCA support for IEEE 802.1AS-2011 clock.c | 46 +++- clock.h | 45 fsm.c | 13 ++ fsm.h |

[Linuxptp-devel] [RFC V2] Add IEEE 802.1AS-2011 time-aware bridge support

2019-10-14 Thread Yangbo Lu
, - Create syfu_relay_info structure for time information relay. - Implement port_syfu_relay_info_insert() to update follow_up (with TLV) message with time information for relay. Signed-off-by: Yangbo Lu --- Changes for v2: - Implemented based on BC instead of TC. --- clock.c | 43

[Linuxptp-devel] [RFC] Add 802.1AS-2011 time-aware bridge support

2019-10-10 Thread Yangbo Lu
. Signed-off-by: Yangbo Lu --- bridge.c | 231 ++ clock.c | 1 + clock.h | 1 + config.c | 1 + configs/time-aware-bridge.cfg | 38 +++ makefile