lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sat, 1 Jun 2019 19:17:09 -0700 From: Richard Cochran <richardcochran@...il.com> To: Vladimir Oltean <olteanv@...il.com> Cc: Florian Fainelli <f.fainelli@...il.com>, Vivien Didelot <vivien.didelot@...il.com>, Andrew Lunn <andrew@...n.ch>, "David S. Miller" <davem@...emloft.net>, John Stultz <john.stultz@...aro.org>, Thomas Gleixner <tglx@...utronix.de>, Stephen Boyd <sboyd@...nel.org>, lkml <linux-kernel@...r.kernel.org>, netdev <netdev@...r.kernel.org> Subject: Re: [PATCH net-next 0/5] PTP support for the SJA1105 DSA driver 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
Powered by blists - more mailing lists