I have not received patch 02/11 from the series and I don't see it
in the archives. Also, patch 11/11 needs to be rebased on top of
the current HEAD as there is a conflict in makefile with recent ts2phc
changes.
On Thu, May 26, 2022 at 05:16:32PM +0200, Arkadiusz Kubalewski wrote:
> Add main code
-Original Message-
From: Miroslav Lichvar
Sent: Monday, May 30, 2022 2:52 PM
To: Kubalewski, Arkadiusz
Cc: linuxptp-devel@lists.sourceforge.net; Kwapulinski, Piotr
; Sawula, Andrzej ;
Gerasymenko, Anatolii
Subject: Re: [Linuxptp-devel] [PATCH v2 11/11] synce4l: add synce4l application
Used by synce_dev to interact with its ports.
Co-developed-by: Anatolii Gerasymenko
Signed-off-by: Anatolii Gerasymenko
Co-developed-by: Michal Michalik
Signed-off-by: Michal Michalik
Signed-off-by: Arkadiusz Kubalewski
---
v2: updated license headers
v3: rebase patch series
synce_port.c |
synce_clock interface allows creation, polling and destruction of
SyncE clock, designed to step and drive SyncE logic on all configured
SyncE devices.
SyncE clock is created with a SyncE-type configuration, where
SyncE-type configuration is prepared by parsing SyncE config file.
Poll of a SyncE c
Interface used for:
- creation, building and storing new SyncE PDU's for later transmission
- obtain Quality Level TLV and Extended Quality Level TLV from existing
SyncE PDU's
synce_msg_private.h has constants and structs as defined by Synchronous
Ethernet standard - Recommendation ITU-T G.8264/
synce4l is a software implementation of Synchronous Ethernet (Sync-E)
according to ITU-T Recommendation G.8264. The design goal is to provide
logic to supported hardware by processing Ethernet Synchronization
Messaging Channel (ESMC) and control Digital Phase Locked Loop (DPLL)
clock on Network Car
Add main code of synce4l - user space application implementing
standard - Recommendation ITU-T G.8264/Y.1364.
On init the application parses SyncE config file and initializes
a synce_clock with SyncE devices and configured ports.
synce_clock is later polled until application termination.
Add docum
Add interface for sending and receiving ESMC frames.
Ethernet Synchronization Messaging Channel (ESMC) requires
to operate on multicast raw L2 socket. This patch adds features
to open socket, send and receive ESMC frames.
Co-developed-by: Anatolii Gerasymenko
Signed-off-by: Anatolii Gerasymenko
Used by synce_port to create, control and destroy RX/TX threads.
Ports in sync mode can use only TX thread (device in external input
mode) or both RX and TX threads (device in internal input mode).
RX thread is responsible for:
- receiving ESMC frames
- verifying received QL
- storing last receive
synce_dev interface allows creation, initialization, stepping and
destroying of a single SyncE device.
Newly created device must be given a device name (same as in config
file).
After creation the SyncE device is initialized with config struct,
where device-level configuration for this device mus
Allow config interface to parse SyncE related config files.
Co-developed-by: Piotr Kwapulinski
Signed-off-by: Piotr Kwapulinski
Co-developed-by: Michal Michalik
Signed-off-by: Michal Michalik
Signed-off-by: Arkadiusz Kubalewski
---
v2: remove redundant variable assignment
v3: rebase patch ser
Used by synce_dev to acquire current state of its DPLL.
Co-developed-by: Anatolii Gerasymenko
Signed-off-by: Anatolii Gerasymenko
Co-developed-by: Piotr Kwapulinski
Signed-off-by: Piotr Kwapulinski
Co-developed-by: Michal Michalik
Signed-off-by: Michal Michalik
Signed-off-by: Arkadiusz Kubal
Interface is used to create and store an opened socket for sending and
receiving SyncE PDU's on a given NIC interface.
Co-developed-by: Michal Michalik
Signed-off-by: Michal Michalik
Signed-off-by: Arkadiusz Kubalewski
---
v2:
- changed strnlen/strncpy to snprintf for increased readability
- ad
Extend interface struct, allow to keep information about SyncE parent
device.
Add helper function (util.c) to acquire Do Not Use - Quality Level
value.
Co-developed-by: Anatolii Gerasymenko
Signed-off-by: Anatolii Gerasymenko
Co-developed-by: Michal Michalik
Signed-off-by: Michal Michalik
Sig
14 matches
Mail list logo