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