All of lore.kernel.org
 help / color / mirror / Atom feed
* net: dsa: HSR/PRP support
@ 2020-02-18 17:15 George McCollister
  2020-05-07 12:21 ` Murali Karicheri
  0 siblings, 1 reply; 2+ messages in thread
From: George McCollister @ 2020-02-18 17:15 UTC (permalink / raw)
  To: netdev; +Cc: m-karicheri2, vinicius.gomes, Andrew Lunn, Florian Fainelli

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: net: dsa: HSR/PRP support
  2020-02-18 17:15 net: dsa: HSR/PRP support George McCollister
@ 2020-05-07 12:21 ` Murali Karicheri
  0 siblings, 0 replies; 2+ messages in thread
From: Murali Karicheri @ 2020-05-07 12:21 UTC (permalink / raw)
  To: George McCollister, netdev; +Cc: vinicius.gomes, Andrew Lunn, Florian Fainelli

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-05-07 12:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-18 17:15 net: dsa: HSR/PRP support George McCollister
2020-05-07 12:21 ` Murali Karicheri

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.