]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit36a64c9742dd0a0f0779d0f673c0bc4b1c183245
treee68bce001797bc8b8beaeabb45e286b219df5673
parent47c3037254c83763469787d92b62e0f6e814e103
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