Changes in this version: ~~~~~~~~~~~~~~~~~~~~~~~ Since the series has gone through some feedback and is mature now, it is being posted as PATCH series instead of RFC.
This version incorporates feedback from the last version of this series. The changes include: - Remove AVnu keyword from all commit messages. - Instead of adding special checks for BMCA == ‘noop’ in port_p2p_transtion, we now transition to PS_LISTENING before going to PS_MASTER/PS_SLAVE for designated master or slave. - designated_{master/slave}_fsm() functions were moved to their own file. - Minor change in check_source_identity function. - In all the series adds functionality from Sections 6.2.1.1 and Section 6.3 (pts #1 and #2) of the Automotive Profile[1]. More information of intention of this and future series at: https://sourceforge.net/p/linuxptp/mailman/message/36369408/ Thanks, Vedang Patel [1] Automotive Ethernet AVB Functional and Interoperability Specification - http://avnu.org/wp-content/uploads/2014/05/ Automotive-Ethernet-AVB-Func-Interop-Spec-v1.5-Public.pdf Vedang Patel (6): port: Add condition to check fc. clock: Add NULL check for best clock in clock_update_slave() Add BMCA config option. Add inhibit_announce config option. Add ignore_source_id config option. Add example configuration for Automotive Profile. bmc.c | 11 ++++ clock.c | 24 +++++++- config.c | 9 +++ configs/automotive-master.cfg | 27 +++++++++ configs/automotive-slave.cfg | 30 ++++++++++ configs/default.cfg | 3 + designated_fsm.c | 133 ++++++++++++++++++++++++++++++++++++++++++ designated_fsm.h | 43 ++++++++++++++ fsm.h | 6 +- makefile | 11 ++-- port.c | 63 ++++++++++++++++---- port.h | 8 +++ port_private.h | 3 + ptp4l.8 | 31 ++++++++-- 14 files changed, 381 insertions(+), 21 deletions(-) create mode 100644 configs/automotive-master.cfg create mode 100644 configs/automotive-slave.cfg create mode 100644 designated_fsm.c create mode 100644 designated_fsm.h -- 2.7.3 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel