Thread (43 messages) 43 messages, 3 authors, 2019-11-19

Re: [PATCH net-next 0/5] PTP support for the SJA1105 DSA driver

From: Richard Cochran <richardcochran@gmail.com>
Date: 2019-06-02 02:17:16
Also in: lkml

On Sat, Jun 01, 2019 at 01:31:34PM +0300, Vladimir Oltean wrote:
If I dress the meta frame into a PTP frame (btw is there any
preferable event message for this purpose?)
I would just make a L2 PTP event message from a specific source
address, just like the phyter does.

Use Ethertype ETH_P_1588 (0x88f7), and make sure the "general" bit
(0x8) of the messageType field (the first payload byte, at offset 14)
is clear.

dp83640.c uses a magic source address to identify a time stamping
status frame:

static u8 status_frame_src[6] = { 0x08, 0x00, 0x17, 0x0B, 0x6B, 0x0F };

HTH,
Richard

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