On Mon, Mar 15, 2021 at 10:40:08PM +0100, Frantisek Rysanek wrote:
> Dear gentlemen,
> thanks for opening this interesting topic...
> 
> Is there any stock NIC (silicon, board), with an open-source Linux 
> driver, that would support SyncE off the shelf in the NIC hardware?

I didn't find anything in the current mainline kernel. There may be
3rd party open source drivers. In the Intel's igc driver I saw few
SYNCE registers defined, but no code using them.

> But at the level of a single port... what do you need?
> SyncE enable / disable, and select master vs. slave role?

At minimum, get the current state of the link with information like
whether the port is TX/RX coherent to be able to provide the L1_SYNC
TLV.

> And yes there is some additional messaging, I understand in-band in 
> Ethernet, which would probably have to be handled by ptp4l software, 
> unless offloaded to the kernel-space driver or hardware...

I'd expect the OSSP/ESMC part to be handled in the firmware. I think
ptp4l should just be able to see the current status and maybe flip
some bits to configure it.

-- 
Miroslav Lichvar



_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to