[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <79fd0e39-4f01-d111-c22b-34da1ff8cc9b@ti.com>
Date: Thu, 7 May 2020 08:21:42 -0400
From: Murali Karicheri <m-karicheri2@...com>
To: George McCollister <george.mccollister@...il.com>,
<netdev@...r.kernel.org>
CC: <vinicius.gomes@...el.com>, Andrew Lunn <andrew@...n.ch>,
Florian Fainelli <f.fainelli@...il.com>
Subject: Re: net: dsa: HSR/PRP support
Hi George,
On 2/18/20 12:15 PM, George McCollister wrote:
> I'd like to add a switch to DSA that has hardware support for HSR (IEC
> 62439-3 Clause 5) and PRP (IEC 62439-3 Clause 4).
>
> As well as many common switch features, it supports:
> Self-address filtering
> Forwarding of frames with cut-through
> Automatic insertion of HSR tag and PRP trailer
> Automatic removal of HSR tag and PRP trailer
> Automatic duplicate generation for HSR and PRP
>
> I've also seen other switches that support a subset of these features
> and require software support for the rest (like insertion and removal
> of tag/trailer).
>
> Currently there is software HSR support in net/hsr. I've seen some
> past discussions on the list about adding PRP support and adding
> support for offloading HSR and PRP to a switch.
>
> Is anyone still working on any of this? If not, has anyone made
> progress on any of this they'd like to share as a starting point for
> getting some of this upstreamed? Has anyone run across any problems
> along the way they'd like to share. I've read that the TI vendor
> kernel may have support for some of these features on the CPSW.
>
> Thanks,
> George McCollister
>
Yes. We have support for PRP and HSR/PRP offload support in our internal
Kernel tree. I have posted the RFC for PRP support to existing HSR
driver to the list. I think that is the first thing to do and then work
to add offload support for devices that support this in hardware. It
would be great if you could review this series and test it on your
platform.
https://lkml.org/lkml/2020/5/6/909
--
Murali Karicheri
Texas Instruments
Powered by blists - more mailing lists