net: bridge: mrp: Update the Test frames for MRA
authorHoratiu Vultur <horatiu.vultur@microchip.com>
Sat, 26 Jun 2021 20:18:04 +0000 (22:18 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jun 2021 22:46:10 +0000 (15:46 -0700)
commitf7458934b0791c39a001e4d902fc3bf697b439b5
tree4e3b03510b8b2984b5edbda94c6fd202cb8c6355
parentf0305e732a1a144dcdb1536b828ee4a5cc1d212f
net: bridge: mrp: Update the Test frames for MRA

According to the standard IEC 62439-2, in case the node behaves as MRA
and needs to send Test frames on ring ports, then these Test frames need
to have an Option TLV and a Sub-Option TLV which has the type AUTO_MGR.

Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_mrp.c
net/bridge/br_private_mrp.h