diff options
author | Horatiu Vultur <horatiu.vultur@microchip.com> | 2020-05-30 18:09:47 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-06-01 11:56:11 -0700 |
commit | 4b3a61b030d1131dcf3633a276158a3d0a435a47 (patch) | |
tree | e68bce001797bc8b8beaeabb45e286b219df5673 /net/bridge/br_private_mrp.h | |
parent | 7e89ed8ab3f74e0746d3ea80537d7a06b0e27732 (diff) | |
download | lwn-4b3a61b030d1131dcf3633a276158a3d0a435a47.tar.gz lwn-4b3a61b030d1131dcf3633a276158a3d0a435a47.zip |
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>
Diffstat (limited to 'net/bridge/br_private_mrp.h')
-rw-r--r-- | net/bridge/br_private_mrp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bridge/br_private_mrp.h b/net/bridge/br_private_mrp.h index a0f53cc3ab85..558941ce2366 100644 --- a/net/bridge/br_private_mrp.h +++ b/net/bridge/br_private_mrp.h @@ -14,6 +14,7 @@ struct br_mrp { struct net_bridge_port __rcu *s_port; u32 ring_id; + u16 prio; enum br_mrp_ring_role_type ring_role; u8 ring_role_offloaded; |