[Linuxptp-devel] [PATCH v1 0/7] Support for Automotive Profile (Part II)
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Vedang P. <ved...@in...> - 2018-10-05 23:25:29
|
This series is the continuation of the automotive series posted at [1]. Following are the main changes this series makes: - Provide a mechanism to save the initial values of Sync and Announce intervals. - Implement “Message Interval Request” support for linuxptp described as part of 10.5.4 in 802.1AS[2]. - Use the interval request mechanism for slave to request a change the interval of Sync messages to operLogSyncInterval. Signaling message will be sent to the master after the interval update timer expires. The timer is setup when the first Sync Message is received by slave. More information for this in sections 6.2.1.6, 6.2.3.1 and 6.2.4 of AVnu Automotive Profile[3]. - The timer expiration also sets the pdelay request interval to operPdelayReqInterval on slave. This adds functionality mentioned in Sections 6.2.1.5 and 6.2.3.2. - Add a flag to inhibit delay requests. This will be used by the master in the automotive network because master devices do not need to send pdelay request messages. Thanks, Vedang Patel [1]- https://sourceforge.net/p/linuxptp/mailman/message/36431575/ [2]- IEEE 802.1AS Standard: https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=5741898&tag=1 [3]- 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 (7): port: Make port_capable() accessible outside port.c port: Split port_signaling_construct() to support Interval Request port: Add logPdelayReqInterval. port: implement message interval request processing port: Add ignore_update_interval_req. port: Add interval update timer. port: Add inhibit_delay_req. config.c | 5 ++ configs/automotive-master.cfg | 1 + configs/automotive-slave.cfg | 4 ++ configs/default.cfg | 4 ++ fd.h | 3 +- msg.h | 6 +++ port.c | 55 ++++++++++++++++++-- port_private.h | 20 ++++++- port_signaling.c | 118 +++++++++++++++++++++++++++++++++++++++++- ptp4l.8 | 32 ++++++++++++ tlv.h | 12 +++++ unicast_client.c | 14 ++--- unicast_service.c | 4 +- 13 files changed, 261 insertions(+), 17 deletions(-) -- 2.7.3 |