Kconfig 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # IEC 62439-3 High-availability Seamless Redundancy
  4. #
  5. config HSR
  6. tristate "High-availability Seamless Redundancy (HSR & PRP)"
  7. help
  8. This enables IEC 62439 defined High-availability Seamless
  9. Redundancy (HSR) and Parallel Redundancy Protocol (PRP).
  10. If you say Y here, then your Linux box will be able to act as a
  11. DANH ("Doubly attached node implementing HSR") or DANP ("Doubly
  12. attached node implementing PRP"). For this to work, your Linux box
  13. needs (at least) two physical Ethernet interfaces.
  14. For DANH, it must be connected as a node in a ring network together
  15. with other HSR capable nodes. All Ethernet frames sent over the HSR
  16. device will be sent in both directions on the ring (over both slave
  17. ports), giving a redundant, instant fail-over network. Each HSR node
  18. in the ring acts like a bridge for HSR frames, but filters frames
  19. that have been forwarded earlier.
  20. For DANP, it must be connected as a node connecting to two
  21. separate networks over the two slave interfaces. Like HSR, Ethernet
  22. frames sent over the PRP device will be sent to both networks giving
  23. a redundant, instant fail-over network. Unlike HSR, PRP networks
  24. can have Singly Attached Nodes (SAN) such as PC, printer, bridges
  25. etc and will be able to communicate with DANP nodes.
  26. This code is a "best effort" to comply with the HSR standard as
  27. described in IEC 62439-3:2010 (HSRv0) and IEC 62439-3:2012 (HSRv1),
  28. and PRP standard described in IEC 62439-4:2012 (PRP), but no
  29. compliancy tests have been made. Use iproute2 to select the protocol
  30. you would like to use.
  31. You need to perform any and all necessary tests yourself before
  32. relying on this code in a safety critical system!
  33. If unsure, say N.