[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20211126164421.GC27081@hoboy.vegasvil.org>
Date: Fri, 26 Nov 2021 08:44:21 -0800
From: Richard Cochran <richardcochran@...il.com>
To: Vladimir Oltean <vladimir.oltean@....com>
Cc: netdev@...r.kernel.org, Po Liu <po.liu@....com>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Claudiu Manoil <claudiu.manoil@....com>,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
Antoine Tenart <atenart@...nel.org>,
UNGLinuxDriver@...rochip.com, Andrew Lunn <andrew@...n.ch>,
Vivien Didelot <vivien.didelot@...il.com>,
Florian Fainelli <f.fainelli@...il.com>,
Xiaoliang Yang <xiaoliang.yang_1@....com>,
Yangbo Lu <yangbo.lu@....com>, Rui Sousa <rui.sousa@....com>,
"Allan W . Nielsen" <allan.nielsen@...rochip.com>
Subject: Re: [PATCH net-next 0/4] Fix broken PTP over IP on Ocelot switches
On Fri, Nov 26, 2021 at 01:21:14AM +0200, Vladimir Oltean wrote:
> Po Liu reported recently that timestamping PTP over IPv4 is broken using
> the felix driver on NXP LS1028A. This has been known for a while, of
> course, since it has always been broken. The reason is because IP PTP
> packets are currently treated as unknown IP multicast, which is not
> flooded to the CPU port in the ocelot driver design, so packets don't
> reach the ptp4l program.
>
> The series solves the problem by installing packet traps per port when
> the timestamping ioctl is called, depending on the RX filter selected
> (L2, L4 or both).
>
> Vladimir Oltean (4):
> net: mscc: ocelot: don't downgrade timestamping RX filters in
> SIOCSHWTSTAMP
> net: mscc: ocelot: create a function that replaces an existing VCAP
> filter
> net: ptp: add a definition for the UDP port for IEEE 1588 general
> messages
> net: mscc: ocelot: set up traps for PTP packets
For the series:
Acked-by: Richard Cochran <richardcochran@...il.com>
Powered by blists - more mailing lists