]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'bridge-mrp-Add-support-for-MRA-role'
authorDavid S. Miller <davem@davemloft.net>
Mon, 1 Jun 2020 18:56:11 +0000 (11:56 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Jun 2020 18:56:11 +0000 (11:56 -0700)
commitdab844c577b81264cdf317ddca17a259b4e6cb0b
treeac66bfc38aaea7b6f0cd6dfc0cd4a0a884e88a4d
parente8409d95701fdb8e8a4b5b8cf7193247bb2cd821
parent6b5b63227f5f874fe6653f0dd795b90dccc17949
Merge branch 'bridge-mrp-Add-support-for-MRA-role'

Horatiu Vultur says:

====================
bridge: mrp: Add support for MRA role

This patch series extends the MRP with the MRA role.
A node that has the MRA role can behave as a MRM or as a MRC. In case there are
multiple nodes in the topology that has the MRA role then only one node can
behave as MRM and all the others need to be have as MRC. The node that has the
higher priority(lower value) will behave as MRM.
A node that has the MRA role and behaves as MRC, it just needs to forward the
MRP_Test frames between the ring ports but also it needs to detect in case it
stops receiving MRP_Test frames. In that case it would try to behave as MRM.

v2:
 - add new patch that fixes sparse warnings
 - fix parsing of prio attribute
====================

Signed-off-by: David S. Miller <davem@davemloft.net>