diff options
author | Horatiu Vultur <horatiu.vultur@microchip.com> | 2020-05-30 20:09:47 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-06-01 20:56:11 +0200 |
commit | 4b3a61b030d1131dcf3633a276158a3d0a435a47 (patch) | |
tree | e68bce001797bc8b8beaeabb45e286b219df5673 /include/net | |
parent | bridge: mrp: Update MRP frame type (diff) | |
download | linux-4b3a61b030d1131dcf3633a276158a3d0a435a47.tar.xz linux-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 'include/net')
-rw-r--r-- | include/net/switchdev.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/switchdev.h b/include/net/switchdev.h index db519957e134..f82ef4c45f5e 100644 --- a/include/net/switchdev.h +++ b/include/net/switchdev.h @@ -116,6 +116,7 @@ struct switchdev_obj_mrp { struct net_device *p_port; struct net_device *s_port; u32 ring_id; + u16 prio; }; #define SWITCHDEV_OBJ_MRP(OBJ) \ |