Redundancy support through PRP?
Subsystems (2)
All,
Wondering if there plan to add PRP driver support, like HSR in Linux? AFAIK, PRP adds trailor to Ethernet frame and is used for Redundancy management like HSR. So wondering why this is not supported.
Thanks
Signature · 2 lines
Murali Karicheri Linux Kernel, Keystone
Redundancy support through HSR and PRP
David,
Quoted 8 lines · Murali Karicheri
All,
Wondering if there plan to add PRP driver support, like HSR in Linux? AFAIK, PRP adds trailor to Ethernet frame and is used for Redundancy management like HSR. So wondering why this is not supported.
Thanks
I need to work on a prp driver for Linux. So if there is already someone working on this, I would like to join and contribute. Either way please respond so that I can work to add this support.
I am also working to add support for offload HSR functions to hardware and will need to modify the hsr driver to support the same. So any suggestion as to how this can be done, will be appreciated.
Here is what I believe should happen to support this at a higher level
hsr capable NIC (with firmware support) may able to
- duplicate packets at the egress. So only one copy needs to be forwarded to the NIC
- Discard the duplicate at the ingress. So forward only one to copy to the ethernet driver
- Manage supervision of the network. Keep node list and their status
It could be a subset of the above. So I am hoping this can be published by the Ethernet driver as a set of features. The hsr driver can then look at this features and decide to offload and disable same functionality at the hsr driver. Also the node list/status has to be polled from the underlying hardware.
PRP is similar to HSR in many respect. Redundancy management uses a suffix tag to the MAC frame instead of prefix used by HSR. So they are more transparently handled by switches or routers. Probably i need to do
- rename net/hsr to net/hsr-prp
- restructure the current set of files to add prp support
Thanks
Signature · 2 lines
Murali Karicheri Linux Kernel, Keystone
Re: Redundancy support through HSR and PRP
Quoted 33 lines · Murali Karicheri
David,
Quoted 8 lines · Murali Karicheri
All,
Wondering if there plan to add PRP driver support, like HSR in Linux? AFAIK, PRP adds trailor to Ethernet frame and is used for Redundancy management like HSR. So wondering why this is not supported.
Thanks
I need to work on a prp driver for Linux. So if there is already someone working on this, I would like to join and contribute. Either way please respond so that I can work to add this support.
I am also working to add support for offload HSR functions to hardware and will need to modify the hsr driver to support the same. So any suggestion as to how this can be done, will be appreciated.
Here is what I believe should happen to support this at a higher level
hsr capable NIC (with firmware support) may able to
- duplicate packets at the egress. So only one copy needs to be forwarded to the NIC
- Discard the duplicate at the ingress. So forward only one to copy to the ethernet driver
- Manage supervision of the network. Keep node list and their statusIt could be a subset of the above. So I am hoping this can be published by the Ethernet driver as a set of features. The hsr driver can then look at this features and decide to offload and disable same functionality at the hsr driver. Also the node list/status has to be polled from the underlying hardware.
Quoted 8 lines
PRP is similar to HSR in many respect. Redundancy management uses a suffix tag to the MAC frame instead of prefix used by HSR. So they are more transparently handled by switches or routers. Probably i need to do
- rename net/hsr tonet/hsr-prp
- restructure the current set of files to add prp supportThanks
+ Arvid
Didn't copy HSR owner in my original email. Copying now.
Signature · 2 lines
Murali Karicheri Linux Kernel, Keystone
Re: Redundancy support through HSR and PRP
Quoted 9 lines · Murali Karicheri
Quoted 9 lines · Murali Karicheri
Quoted 8 lines
All,
Wondering if there plan to add PRP driver support, like HSR in Linux? AFAIK, PRP adds trailor to Ethernet frame and is used for Redundancy management like HSR. So wondering why this is not supported.
Thanks
Quoted 8 lines
Quoted 4 lines
I need to work on a prp driver for Linux. So if there is already someone working on this, I would like to join and contribute. Either way please respond so that I can work to add this support.
+ Arvid
Didn't copy HSR owner in my original email. Copying now.
Hi Murali,
I'm not aware of anyone working on PRP support.
I will have very little time, if any, to help out with this (or even test changes). In fact, if you want to send a patch for the MAINTAINERS file to take over maintainership of the HSR/PRP driver, that would probably be a good thing.
(I'm CC'ing also Peter Heise to this conversation, since he's done some recent work on the HSR driver, and might want to keep updated.)
Signature · 3 lines
Arvid Brodin Linux Consultant ALTEN Sweden
A message that is not in the archive (sent off-list or not yet received): [email protected]
AW: Redundancy support through HSR and PRP
Hi Murali, hi Arvid,
also no work on PRP from my side.
Should be pretty straight forward to get PRP support from the existing HSR code.
-----Ursprüngliche Nachricht-----
Von: Arvid Brodin [mailto:[email protected]]
Gesendet: Dienstag, 25. Oktober 2016 15:04
An: Murali Karicheri
Cc: open list:TI NETCP ETHERNET DRIVER; David Miller; HEISE, Peter P
Betreff: Re: Redundancy support through HSR and PRP
Quoted 9 lines · Murali Karicheri
Quoted 9 lines · Murali Karicheri
Quoted 8 lines
All,
Wondering if there plan to add PRP driver support, like HSR in
Linux? AFAIK, PRP adds trailor to Ethernet frame and is used for Redundancy management like HSR. So wondering why this is not supported.Thanks
Quoted 8 lines
Quoted 4 lines
I need to work on a prp driver for Linux. So if there is already someone working on this, I would like to join and contribute. Either way please respond so that I can work to add this support.
+ Arvid
Didn't copy HSR owner in my original email. Copying now.
Hi Murali,
I'm not aware of anyone working on PRP support.
I will have very little time, if any, to help out with this (or even test changes).
In fact, if you want to send a patch for the MAINTAINERS file to take over maintainership of the HSR/PRP driver, that would probably be a good thing.
(I'm CC'ing also Peter Heise to this conversation, since he's done some recent work on the HSR driver, and might want to keep updated.)
Signature · 14 lines
Arvid Brodin Linux Consultant ALTEN Sweden This mail has originated outside your organization, either from an external partner or the Global Internet. Keep this in mind if you answer this message. The information in this e-mail is confidential. The contents may not be disclosed or used by anyone other than the addressee. Access to this e-mail by anyone else is unauthorised. If you are not the intended recipient, please notify Airbus immediately and delete this e-mail. Airbus cannot accept any responsibility for the accuracy or completeness of this e-mail as it has been sent over public networks. If you have any concerns over the content of this message or its Accuracy or Integrity, please contact Airbus immediately. All outgoing e-mails from Airbus are checked using regularly updated virus scanning software but you should take whatever measures you deem to be appropriate to ensure that this message and any attachments are virus free.
Re: AW: Redundancy support through HSR and PRP
Quoted 5 lines · Peter P
Hi Murali, hi Arvid,
also no work on PRP from my side.
Should be pretty straight forward to get PRP support from the existing HSR code.
Thanks Arvid and Peter!
Basically I have following to be done w.r.t HSR/PRP.
1. Add PRP support
2. Add h/w offload some of the rx/tx redundancy and L2 forward handling to firmware.
If you have any thoughts on 2, please let me know. Our hardware is a switch with HSR/PRP support. So I believe I need to have L2 offload done using the DSA and run the hsr/prp driver on top of that. The MIB handling is done in the firmware. So that has to be offloaded as well. My work has just begun and I hope to come up with an RFC patch for HSR offload first followed by PRP support.
Quoted 1 line
From high level, it appears to be a straight forward to add the PRP support.
I might have to rename the net/hsr to something like net/hsr-prp ??
Also restructure the code a bit to support PRP
I have brought up HSR driver on my platform (HSRv0 and HSRv1) and it seems to work. So I might be able to regress the existing once I add my change.
Peter,
Do you think you could help me do some testing in the future when patches become available?
Murali
Quoted 38 lines
-----Ursprüngliche Nachricht-----
Von: Arvid Brodin [mailto:[email protected]]
Gesendet: Dienstag, 25. Oktober 2016 15:04
An: Murali Karicheri
Cc: open list:TI NETCP ETHERNET DRIVER; David Miller; HEISE, Peter P
Betreff: Re: Redundancy support through HSR and PRPQuoted 9 lines · Murali Karicheri
Quoted 9 lines · Murali Karicheri
Quoted 8 lines
All,
Wondering if there plan to add PRP driver support, like HSR in
Linux? AFAIK, PRP adds trailor to Ethernet frame and is used for Redundancy management like HSR. So wondering why this is not supported.Thanks
Quoted 8 lines
Quoted 4 lines
I need to work on a prp driver for Linux. So if there is already someone working on this, I would like to join and contribute. Either way please respond so that I can work to add this support.
+ Arvid
Didn't copy HSR owner in my original email. Copying now.
Hi Murali,
I'm not aware of anyone working on PRP support.
I will have very little time, if any, to help out with this (or even test changes).
In fact, if you want to send a patch for theMAINTAINERSfile to take over maintainership of the HSR/PRP driver, that would probably be a good thing.(I'm CC'ing also Peter Heise to this conversation, since he's done some recent work on the HSR driver, and might want to keep updated.)
Signature · 2 lines
Murali Karicheri Linux Kernel, Keystone