Thread (21 messages) 21 messages, 4 authors, 2021-09-01

RE: [RFC v2 net-next 1/2] rtnetlink: Add new RTM_GETSYNCESTATE message to get SyncE status

flat view

From: Machnikowski, Maciej <hidden>
Date: 2021-08-29 16:43:03
Also in: intel-wired-lan, linux-kselftest

-----Original Message-----
From: Richard Cochran <richardcochran@gmail.com>
Sent: Sunday, August 29, 2021 5:10 PM
Subject: Re: [RFC v2 net-next 1/2] rtnetlink: Add new RTM_GETSYNCESTATE
message to get SyncE status

On Sun, Aug 29, 2021 at 10:05:11AM +0200, Maciej Machnikowski wrote:
quoted
This patch is SyncE-oriented. Future implementation can add additional
functionality for reading different DPLL states using the same structure.
I would call this more "ice oriented" than SyncE oriented.  I'm not sure there is
even such a thing as "SyncE DPLL".  Does that term come from 802.3?  To my
understanding, that is one just way of implementing it that works on super-
Gigabit speed devices.
Hi,
This interface is ITU-T G.8264 SyncE-oriented. It is meant to monitor the state
of Ethernet Equipment Clock.

ITU-T G.8264 recommendation defines Synchronous Ethernet equipment
as a device  equipped with a system clock (e.g., a synchronous Ethernet
equipment clock). SyncE interfaces are able to extract the received clock
and pass it to a system clock.

Please take a look at the 10.2 Operation modes of the G.8264 and at the Figure A.1
which depicts the EEC. This interface is to report the status of the EEC.

If you prefer EEC over DPLL I'm fine with the name change. I think it will be less confusing.
I have nothing against exposing the DPLL if you need to, however I'd like to have
an interface that support plain Gigabit as well.  This could be done in a generic
way by offering Control Register 9 as described in 802.3.
This part of Gigabit interface is a different part of SyncE device. It controls Master/Slave
operation of auto-negotiation. 
You would use it in slave mode if you want your EEC to tune to the frequency recovered
from network and to master if you use external source for your EEC and want to send it
as a reference for another devices. The decision can be made based on the EEC state
read by the interface proposed in this RFC.

This is a functionality that belongs to a different interface mentioned in the next steps.

Regards
Maciek
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help