bridge: mrp: Set the priority of MRP instance
authorHoratiu Vultur <horatiu.vultur@microchip.com>
Sat, 30 May 2020 18:09:47 +0000 (18:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Jun 2020 18:56:11 +0000 (11:56 -0700)
commit4b3a61b030d1131dcf3633a276158a3d0a435a47
treee68bce001797bc8b8beaeabb45e286b219df5673
parent7e89ed8ab3f74e0746d3ea80537d7a06b0e27732
bridge: mrp: Set the priority of MRP instance

Each MRP instance has a priority, a lower value means a higher priority.
The priority of MRP instance is stored in MRP_Test frame in this way
all the MRP nodes in the ring can see other nodes priority.

Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/switchdev.h
include/uapi/linux/if_bridge.h
net/bridge/br_mrp.c
net/bridge/br_mrp_netlink.c
net/bridge/br_mrp_switchdev.c
net/bridge/br_private_mrp.h