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
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5808F9FC.1080802@ti.com>
Date:   Thu, 20 Oct 2016 13:08:12 -0400
From:   Murali Karicheri <m-karicheri2@...com>
To:     "open list:TI NETCP ETHERNET DRIVER" <netdev@...r.kernel.org>,
        David Miller <davem@...emloft.net>
Subject: Redundancy support through HSR and PRP

David,

On 10/10/2016 02:34 PM, Murali Karicheri wrote:
> 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
-- 
Murali Karicheri
Linux Kernel, Keystone

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ